Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Kazakh Letters #28

Open
brkrtp opened this issue May 22, 2023 · 4 comments
Open

Error Kazakh Letters #28

brkrtp opened this issue May 22, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@brkrtp
Copy link

brkrtp commented May 22, 2023

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)

@zhake555
Copy link

value of codeTable?

@TamirlanBir
Copy link

Did u solve that problem ?

@zhake555
Copy link

Did u solve that problem ?

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

@pr0gramista pr0gramista added the bug Something isn't working label Nov 20, 2023
@pr0gramista
Copy link
Owner

Just to mention this, there is another issue related to this one:
#31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants