dxfjs / writer

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

Chinese characters cannot be shown in dxf #173

Open yanliang2004 opened 4 months ago

yanliang2004 commented 4 months ago

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

tarikjabiri commented 4 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