dxfjs / writer

A JavaScript dxf generator written in TypeScript.
https://dxf.vercel.app
MIT License
93 stars 18 forks source link

Chinese characters cannot be shown in dxf #173

Open yanliang2004 opened 6 months ago

yanliang2004 commented 6 months ago

When I use addText() to add text with chinese characters, they are displayed as ?. How can I write chinese correctly?

tarikjabiri commented 6 months ago

Hi

Can you please provide a minimal code example with chinese text in it so I can test with it.

Maybe is related to encodings