Asian characters appearing in strings of my application
25/01/05 18:41
Some Asian characters appear recently in some strings in the user interface of my program. Where do they come from ?
Some Asian characters appear recently in some strings in the user interface of my program. Where do they come from ?
If your application is a Cocoa-based one, it is probably some "invisible" characters in the InfoPlist.strings or any other file you use for storing the strings. A tool like BBEdit, TextWrangler or a Perl script can be used to zap them (and replace them by a normal space - ASCII 0x20) out of the file.
If your application is a Carbon-based one, it is probably the same phenomenom but in a resource file. Do the same "zap gremlins" operation on the source file (.r).
If your application is a Cocoa-based one, it is probably some "invisible" characters in the InfoPlist.strings or any other file you use for storing the strings. A tool like BBEdit, TextWrangler or a Perl script can be used to zap them (and replace them by a normal space - ASCII 0x20) out of the file.
If your application is a Carbon-based one, it is probably the same phenomenom but in a resource file. Do the same "zap gremlins" operation on the source file (.r).