charset_converter icon indicating copy to clipboard operation
charset_converter copied to clipboard

Error Kazakh Letters

Open brkrtp opened this issue 1 year ago • 4 comments

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) <asynchronous suspension> #2 CharsetConverter.encode (package:charset_converter/charset_converter.dart:19:20) <asynchronous suspension> #3 _WebViewExampleState.printDemoReceipt (package:my_app/main.dart:967:24)

brkrtp avatar May 22 '23 18:05 brkrtp

value of codeTable?

zhake555 avatar Oct 27 '23 09:10 zhake555

Did u solve that problem ?

TamirlanBir avatar Nov 15 '23 10:11 TamirlanBir

Did u solve that problem ?

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

zhake555 avatar Nov 16 '23 03:11 zhake555

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

pr0gramista avatar Nov 22 '23 09:11 pr0gramista