home recent topics recent posts search faq  

RC-WinTrans Forum



register | lost password | |
Messages in this topic - RSS

Home » RC-WinTrans Support » Utf-8 output for Java resource bundle file

For support issues and specific questions related to RC-WinTrans' use, features and functions.
27.01.2014 08:04:57

lakuda
lakuda
Posts: 36
Hello!
We need .strings files to be written in utf-8 encoding instead of ANSI, what should be done to change the type?
0 permalink
27.01.2014 11:31:58

Support
Support
Administrator
Posts: 245
Hello lakuda,
what type (format) is your .strings file?
Is it a Tab separated text file "ID <TAB> Text"> format (.txt)
or and XML file (.xml)?

Regards,
Support, Schaudin.com
0 permalink
27.01.2014 11:40:06

lakuda
lakuda
Posts: 36
It has this structure:
// Simple titles
"BackTitle" = "Назад";
"OkTitle" = "ОК";
"CancelTitle" = "Нет";
0 permalink
27.01.2014 12:02:32

Support
Support
Administrator
Posts: 245
Hello lakuda,

RC-WinTrans will uses the file converter for ".NET Resources in Text File Format" for this file.
If so, then the encoding for the target file cannot be changed (different to the source file).
...not in RC-WinTrans up to version 9.3.

Check if it is possible to change the encoding for the target file:
Open the "Target Files" dialog box, select the target file and press the button "Encoding...".
Menu command: "Project" | "Target Files..." | "Encoding..." (button)


Else:
It will be possible with the upcomming RC-WinTrans 9.4 in February 2014.
or
as a workaround you can change the encoding of the source file to utf-8 using e.g. Notepad.exe.
Then the target file cereated by RC-WinTrans will also be in utf-8.

Regards,
Support, Schaudin.com
0 permalink
27.01.2014 12:13:06

lakuda
lakuda
Posts: 36
Thanks a lot!
0 permalink

Home » RC-WinTrans Support » Utf-8 output for Java resource bundle file





Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software