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

UITextIcon does not allow unicode characters to be used #15

Open
marvinvis opened this issue Sep 6, 2024 · 0 comments
Open

UITextIcon does not allow unicode characters to be used #15

marvinvis opened this issue Sep 6, 2024 · 0 comments

Comments

@marvinvis
Copy link

marvinvis commented Sep 6, 2024

I'm using UITextIcon musicIcon = UITextIcon(u8g2_font_siji_t_6x10, UISize(14, 14));

when setting the text using an escape sequence:
musicIcon.setText("\xee\x88\x85");

nothing is shown.

however, using a UITextLine with the parameter isUnicode to true, does show the correct symbol (music note) (see 0xe205 in https://github.com/olikraus/u8g2/wiki/fntgrpsiji).

suggestion: allow UITextIcon to be unicode, similar to the UITextLine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant