Incorrect encoding of translated .properties file
Thread poster: Pavel Lyakhovsky

Pavel Lyakhovsky  Identity Verified
Russian Federation
Local time: 13:01
Member (2006)
English to Russian
Apr 23, 2008

Dear colleagues,

I have started working on a number of .properties files (English to Russian). I import a file into TagEditor, translate it and export it back (using 'Save target as...').

The problem is that when I open the exported file (they are in fact text files and can be opened in Notepad for example) I see something like this:

101.message=\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430

I.e. I see some codes instead of Russian text. I suspect that the files are exported in a wrong encoding. Their source encoding is CP-1252 (Western) and I need them in CP-1251 (Cyrillic Windows).

Thank you very much in advance for your advice.


Direct link Reply with quote
 

Mickey Argaman  Identity Verified
Israel
Member (2006)
English to Hebrew
+ ...
Encoding Apr 23, 2008

Hi,

I had the same problem few months ago, and solved it out:
1. Download SC Unipad at http://www.sharmahd.com/cgi/download?file=upsetup_exe
2. Open the exported files with SC Unipad
3. Save As... and choose the right encoding.
4. Open the "new" file in notepad to make sure everything is ok.

Good luck!


Direct link Reply with quote
 

Pavel Lyakhovsky  Identity Verified
Russian Federation
Local time: 13:01
Member (2006)
English to Russian
TOPIC STARTER
Excellent! Apr 23, 2008

Thank you very much Mickey! It works!

Direct link Reply with quote
 
esperantisto  Identity Verified
Local time: 13:01
Member (2006)
English to Russian
+ ...
DON'T do that, unless your client explicitely requires! Apr 23, 2008

What you see is allright, there's nothing wrong, it's standard presentation of Unicode characters used by Java and some other environments. Deliver it exactly as they are.

Direct link Reply with quote
 

Wojciech Froelich  Identity Verified
Poland
Local time: 11:01
English to Polish
This IS correct encoding Apr 23, 2008

This is correct encoding. .properties files are always ascii files, all diacritic marks are unicode-escaped, as you could see in your file.

Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Incorrect encoding of translated .properties file

Advanced search







Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search