Super User is a question and answer site for computer enthusiasts and power users. 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

I'm trying to setup the translation file (.php) but can't get Notepad++ to display the Russian text. The file was created on a PC with Russian Windows 7 (Windows Notepad) and everything looks fine there.

I sent it to my PC EN Windows 7 and this is what I see:

Ñïàñèáî çà Âàø èíòåğåñ ê ğåêëàìå íà

How can I solve this problem?

share|improve this question
up vote 1 down vote accepted

By default Notepad will save the text using ANSI encoding. This will use the default character set on the source computer and means that unless your other computer has the same character set you won't see the same results. The solution is to save your file in a universal encoding, either Unicode or UTF-8. These encodings map the Russian characters to the Unicode standard so are independent of any default character set on your, or anyone elses, computer.

From Notepad choose File->Save As... and pick Unicode or UTF-8.

enter image description here

Then when you open the file on any other computer it should display as intended.

Note: You only need to do this once for each new file. Since the file has now been marked as Unicode/UTF-8 (with a Byte Object Marker - BOM) Notepad and Notepad++ will recognize the BOM and keep the file in the same encoding.

share|improve this answer
Thanks a lot, it worked! – Teo Sep 5 '13 at 19:31
Windows now defaults to using UCS-2LE (UTF-16) as the encoding. NOTEPAD will read the file correctly. @Teo is talking about Notepad++. As the file came from a Russian system, it's almost certainly ALREADY a Unicode (UTF-8 or UTF-16) file, depending on the Windows version of the Russian system.Notepad++ can display Chinese, Japanese, Korean, etc. just fine. It's Russian it has the problem with, even when the files are already Unicode. – geo Jan 1 '14 at 23:20

Go to Encoding menu and click on : Convert to ANSI . then again go to Encoding menu and click on Encode in UTF-8 without BOM

share|improve this answer
@teo Can you pass me your file ? zip it and upload it so I can test it myself. I've done what I said and it works all the time – undone Sep 5 '13 at 16:54
I tried it but it didn't work. All I get is another code with letters and numbers like "xCAxE7xE0". Do you know why? – Teo Sep 5 '13 at 16:59
it shows those characters because of its encoding! – undone Sep 5 '13 at 17:02
@t pas me the file and one screen shot of what it should be like – undone Sep 5 '13 at 17:06
+1 Thanks for trying, I tried the solution from "snowdude" as well and it worked for me. I will upvote your asnswer as soon as I have the 15 point I need to... :) – Teo Sep 5 '13 at 19:30

Open the supposedly Russian text file with MS-Word. Before it opens, Word will indicate the encoding language, unless you have to select it from a list (e.g. UTF-8, Windows cyrillic, ...). If you have already encountered problems, this might mean that the encoding language was not UTF-8. Save the document as a TXT-file. MS-Word will ask you to specify the encoding format. SELECT UTF-8. Under Windows, rename the extension "txt" into "srt" if you want to make a Russian subtitle file. If not, leave it like this. Open your Notepad program. FROM the Notepad MENU, select the TXT-file that you have just saved with MS-Word. Just beside the "open" button, you have the possibility to choose the encoding format; select UTF-8. You should be able to read the Russian text as you saw it with MS-Word.

share|improve this answer

just select

Encoding in UTF-8

from Encoding menu , you are ready to go


share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .