-
Codes:
File: Hello, When I try to get the text in the dwg, But the returned data is similar to Unicode,How can I get the normal text? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
The conversion from AutoCAD Unicode encoding to regular Unicode should happen automatically. You can try to convert the strings manually: from ezdxf.lldxf.encoding import decode_dxf_unicode
# snip x-x-x-x-x
print(decode_dxf_unicode(e.dxf.text)) It appears that
|
Beta Was this translation helpful? Give feedback.
-
tks,The problem has been resolved. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
tks,The problem has been resolved.
My ODA File Converter version is 24.11,and I try to update lastes 24.12,bug the problem still exists.
now ,I installed the same version (ODA File Converter 23.3.0) as you ,I have obtained the correct text
so the fundamental reason is still in ODA.