januslo / react-native-bluetooth-escpos-printer

React-Native plugin for the bluetooth ESC/POS & TSC printers.
MIT License
367 stars 424 forks source link

Solution for Myanmar Language?? #202

Open paingpyaethu opened 2 years ago

paingpyaethu commented 2 years ago

Hello, Any solution for Myanmar Langauge for encoding and pagecode please?

zhenguet commented 2 years ago
await BluetoothEscposPrinter.printText(
  '(မြန်မာ)',
  {
    encoding: 'UTF-8',
  },
);

Did you use UTF-8?

paingpyaethu commented 2 years ago

UTF-8 doesn't work. I already tried it. 😥😥

On Thu, Sep 29, 2022 at 1:14 PM Zheng UET @.***> wrote:

await BluetoothEscposPrinter.printText(

'(မြန်မာ)',

{

encoding: 'UTF-8',

},

);

Did you use UTF-8?

— Reply to this email directly, view it on GitHub https://github.com/januslo/react-native-bluetooth-escpos-printer/issues/202#issuecomment-1261838379, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUWZHNOVGOKYEZLSU5IYSW3WAU3GTANCNFSM57Y7JXLQ . You are receiving this because you authored the thread.Message ID: <januslo/react-native-bluetooth-escpos-printer/issues/202/1261838379@ github.com>

cgm-yemyatthu commented 1 year ago

It worked for me though

Zhakkz commented 1 year ago

https://github.com/januslo/react-native-bluetooth-escpos-printer/issues/66#issuecomment-594432943

zawthureintun commented 6 months ago

It worked for me though

How can you do that. Please help me.