pr0gramista / charset_converter

Flutter platform charset converter
BSD 3-Clause "New" or "Revised" License
29 stars 18 forks source link

Error Kazakh Letters #28

Open brkrtp opened 1 year ago

brkrtp commented 1 year ago

Hi i cant flutter esc pos print Kazakh Letters.

printer.rawBytes(await CharsetConverter.encode(codeTable, "Круассан с шоколадом "));

esc_pos_printer: ^4.1.0 charset_converter: ^2.1.1 esc_pos_utils: ^1.1.0

`[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(encoding_failed, Encoding failed, reason unknown, null, null)

0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7)

1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:315:18)

#2 CharsetConverter.encode (package:charset_converter/charset_converter.dart:19:20) #3 _WebViewExampleState.printDemoReceipt (package:my_app/main.dart:967:24) `
zhake555 commented 10 months ago

value of codeTable?

TamirlanBir commented 10 months ago

Did u solve that problem ?

zhake555 commented 10 months ago

Did u solve that problem ?

тек орысша әріптер, қазақша шығара алмадым әзірге

pr0gramista commented 9 months ago

Just to mention this, there is another issue related to this one: https://github.com/pr0gramista/charset_converter/issues/31