Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Can I print UTF-8 characters? #67

Closed
ViniciusHSAraujo opened this issue Feb 18, 2021 · 10 comments
Closed

Can I print UTF-8 characters? #67

ViniciusHSAraujo opened this issue Feb 18, 2021 · 10 comments

Comments

@ViniciusHSAraujo
Copy link

I saw that there is the charset configuration, but where do I find which ones are compatible? Needed to print utf8 characters, such as "ãáàõ"

@ViniciusHSAraujo
Copy link
Author

Example: Vinícius Araújo
MVIMG_20210218_122614.jpg

@TiagoPaza
Copy link

Use charset: "iso-8859-1" in the printCustom, to make accentuation.

@ebrahimmansur
Copy link

is there for arabic

@kreemov
Copy link

kreemov commented Jun 9, 2021

is there for arabic

windows-1256 worked with me

@mynaner
Copy link

mynaner commented Aug 30, 2021

charset: "gbk"

@ebrahimmansur
Copy link

is there for arabic

windows-1256 worked with me

how? ...show me gist of code

@ABDERRAOUFMERAZKA
Copy link

any update for this issues please ?
i can't display french accented letters like : 'téléphone'

@bluemix
Copy link

bluemix commented Feb 23, 2022

I've used this method:
#82 (comment)

@mviniciuscorrea
Copy link

I saw that there is the charset configuration, but where do I find which ones are compatible? Needed to print utf8 characters, such as "ãáàõ"

same problem here... any solution? UTF8, iso-8859-1 and windows-1256 not work for me

@blitzlepe
Copy link

I saw that there is the charset configuration, but where do I find which ones are compatible? Needed to print utf8 characters, such as "ãáàõ"

same problem here... any solution? UTF8, iso-8859-1 and windows-1256 not work for me

Same problem, tried all charset above:

String txt = "Juárez";
bluetooth.printCustom(txt, Size.bold.val, Align.left.val, charset:" iso-8859-1")

á is not printed at all or a rare symbol

Repository owner locked and limited conversation to collaborators Aug 25, 2022
@kakzaki kakzaki converted this issue into discussion #160 Aug 25, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants