Documentation on encoding of layout files
On 17/12/2015 at 03:52, xxxxxxxx wrote:
Cinema 4D Version: 17
Platform: Windows ; Mac ; Mac OSX ;
The python and R 16 coffee docs
The string files are stored in Unicode UTF-8, ....
There is no other note. But the c++ documentation
_The string files are stored in Unicode, which means that they handle almost every language there is.
The encoding is 7-bit ASCII with other characters encoded as \uHHHH. For example 'Natürlich' is written 'Nat\u00fcrlich'. Byte-order marks are not used._
So the encoding is actually 7-bit ASCII. This information is missing in the python and coffee docs. On a side note, i think the sentence "The string files are stored in Unicode" is not clear enough. It should probably read "Strings are internally represented in Unicode, which means ..." "However, string table files are encoded in 7-bit ASCII. Non-ASCII characters are written as \uHHH. For example ..."
On 17/12/2015 at 04:17, xxxxxxxx wrote:
I am using German umlauts äöüÄÖÜ directly in string files for a while. Used to be 7bit but it is not any more.
On 17/12/2015 at 08:55, xxxxxxxx wrote:
The information in the SDKs documentation for the encoding of resource and string files will be updated with the actual encoding used.
On 17/12/2015 at 12:43, xxxxxxxx wrote:
I had some trouble with non-ASCII chars on my Mac. Hence i found this section in the docs. Now i properly use \uxxxx and it works on Mac and Pc. It also works with R17, fortunately :)