libdxfrw
libdxfrw copied to clipboard
BOSS Can you support Chinese
BOSS Can you support Chinese
Is there any problem with files containing Chinese characters? Could you provide us an example of such file?
This is an issue with file encoding. I remember there was a discussion already, but I couldn't find it yet.
Iirc, there was even a sample file.
libdxfrw
expects UTF-8 encoded DXF files. But the text in the reported file was GB18030 encoded. Thus libdxfrw
resp. LibreCAD could not interpret the text labels correct.
From top off my head, I think I remember, that it is not possible with reasonable efforts to automatically detect if a file is UTF-8 or GB18030 encoded. I think the recommendation was to manually convert GB18030 encoded files to UTF-8. For LibreCAD we have a Chinese lff font, but I don't know how complete or usable this font is.
I have to do an advanced search to find the discussion, I don't remember yet if it was on GitHub or in our forum.