We are currently experiencing problems with Chinese / Japanese characters. How can I get this working using dxflib?
International characters in texts
Moderator: andrew
- andrew
- Site Admin
- Posts: 8785
- Joined: Fri Mar 30, 2007 6:07 am
International characters in texts
From a dxflib user:
- andrew
- Site Admin
- Posts: 8785
- Joined: Fri Mar 30, 2007 6:07 am
Re: International characters in texts
The safest way to ensure that international characters / any Unicode characters are stored / loaded correctly is to escape them using the \U+xxxx notation (where xxxx is the hexadecimal character Unicode):
For example the string "日本語" can be stored in DXF as "\U+65e5\U+672c\U+8a9e".
For example the string "日本語" can be stored in DXF as "\U+65e5\U+672c\U+8a9e".
-
Julien
- Newbie Member
- Posts: 3
- Joined: Thu Sep 18, 2014 6:06 pm
Re: International characters in texts
Hello,
Thanks, it worked.
Now for Editors that do not support Chinese characters I have "?" but for others everything is great.
Regards,
Julien
Thanks, it worked.
Now for Editors that do not support Chinese characters I have "?" but for others everything is great.
Regards,
Julien