Cannot Print Thai language
Opened this issue · 8 comments
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Uint8List encThai = await CharsetConverter.encode("cp874", "สะวัสดี");
ticket.textEncoded(encThai,
styles: PosStyles(codeTable: PosCodeTable.thai_1));
Please use the new version of esc_pos_utils i.e 1.0.0 and try once.
I am also having the same issue, French Accents are failing to print. This is the error :
Contains invalid characters.: "Non loin de l'Ambassade du Ghana, Lomé Togo"
Hey @togoenvogue I am also facing the same issue, Did you solved this?
Hey @togoenvogue, Got it! Thanks for responding.