TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I open a TeX file containing arabic letters, I only see weird letters. I tried WinEdt, Emacs, TeXMaker. But when I open the same file using Notepad, it looks OK. What shoud I do?

share|improve this question
Make sure that the encoding that is used by the editors are inline with the encoding that the one used by Notepad. TeXnicCenter still doesn't support Unicode in a convenient way. – percusse Feb 15 '12 at 1:37
Instead of the "thank you", which is nice of course, upvote a correct answer and, especially if it solved your problem, accept it please, thanks! – Stefan Kottwitz Mar 4 '12 at 22:08
up vote 2 down vote accepted

You need to use an editor that can handle and display Unicode-encoded characters. The ones you mention -- other than notepad -- are probably not Unicode-aware. Actually, the very latest version of Texmaker is Unicode-aware; you may be using a somewhat obsolete version of that program.

Try opening your file with TeXworks, TeXshop (if you use a Mac), or any other editor that's Unicode-aware, and you should be in business.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.