Non-ASCII symbols in a *.str file?

On 19/12/2015 at 18:08, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R17 
Platform:    Mac  ;  
Language(s) :     C++  ;

When I try and use non-ASCII characters in a string file for a GUI displayed in the attributes manager, they don't show up properly.

For example, "∞" (infinity symbol) shows up as ",àû" instead.

Is there any way to make this work? Or are you limited to boring text instead? C4D can clearly display such symbols because you can use them in custom user data widgets and it works fine, it just doesn't seem to read them properly from a strings file on disk.


On 19/12/2015 at 20:40, xxxxxxxx wrote:

You have to use \u Unicode notation in your .res files for non-ASCII (Unicode) characters.  The notation uses hexadecimal notation, eg: \u00a9 for the Copyright symbol.  Then they should show up properly.

On 19/12/2015 at 21:17, xxxxxxxx wrote:

Awesome. Thanks!


On 20/12/2015 at 03:21, xxxxxxxx wrote:

You can use the Unicode Escape Tool  from devtools to convert special characters to the unicode escaped
version. I usually write the complete STRINGTABLE file in that tool and press convert.