I am trying to put a unicode character inside my localization.strings file. When I manually set a label's text to "\u{F071}", the character appears properly. When I have that character as part of a string within the localization file, then the unicode character does not appear like I want it. Is there some encoding setting that I might be missing? Or should we not have unicode characters within the localization file?
Asked
Active
Viewed 2,969 times
10
-
1See http://stackoverflow.com/questions/23452906/ios-localization-unicode-character-escape-sequences-which-have-the-form-uxxx. – Martin R Apr 14 '15 at 15:06
1 Answers
14
You have to follow localization.strings's unicode format, e.g.:
"your-key" = "\UF071";

Bill Chan
- 3,199
- 36
- 32