Read Unicode files

Use this forum to ask questions about how to do things in dxflib.

Moderator: andrew

Post Reply
Kranzl
Registered Member
Posts: 1
Joined: Wed Jun 10, 2009 10:56 am
Location: Germany

Read Unicode files

Post by Kranzl » Wed Jun 10, 2009 11:03 am

Hello!

Can I use dxf library to read DXF files which contain unicode texts or element names?

Thanks.

User avatar
andrew
Site Admin
Posts: 9036
Joined: Fri Mar 30, 2007 6:07 am

Post by andrew » Wed Jun 10, 2009 2:21 pm

Yes (although dxflib has nothing to do with this). Unicode characters are in DXF encoded as:

\U+XXXX

e.g.:

\U+03c0

And this is also what you get with dxflib if you read a text entity.

Post Reply

Return to “dxflib 'How Do I' Questions”