Malanche / escpos-rs

Control esc/pos printers through rust.
MIT License
15 stars 5 forks source link

how to print chinese #6

Closed EmiyaGm closed 1 year ago

EmiyaGm commented 1 year ago

Error: An unsupported utf-8 character was found when passing to cp437

EmiyaGm commented 1 year ago

OK,i can use raw function and change rust string to right encode