set markdown encoding