translator

HarveyKwok

Member
Licensed User
Longtime User
When I use the Translator from AHLocale, It can not translate the chinese character (utf-8) from a language file, It can display only garbled text; but it can display the chinese ,if the text use directly use on the view by Designer

# English in the same language file, can display normally.

Can anyone teach me to solve it, Thanks
 

Attachments

  • garbled.jpg
    garbled.jpg
    15.9 KB · Views: 188

corwin42

Expert
Licensed User
Longtime User
Use unicode escape codes for the characters in the translation. See the AHLocale library thread first page for some discussion about this problem. Best solution will be to use an editor that can transform your text to unicode escape codes and back again.
 
Top