-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Multilingual character set support #17
Comments
Thank you, I am glad to hear you were able to follow the documentation. To address your question, yes. We can change the character set. The current state of this project has some limitations in this regard. It isn't the most user-friendly as currently the display only has the 7-bit ASCII character set. The solution I have used in the past is described here (#6). It entails using the unused 8th bit of ASCII to extend the character set and add 128 new characters. In the future, I want to research adding Unicode support, not sure how challenging this will be, but it seems like the ideal solution. I am pretty busy this next week so I may not be able to provide much assistance until March 11. -Luke |
Just looking into the same functionality, what a surprise! Just installed everything and then I was realizing Umlaut characters are not supported. I was looking at another (similar) project as well which supports Umlaut characters, but I like your dashboard better as it's cleaner, great work! So the project I was looking at first is this one: https://github.com/G6EJD/ESP32-e-Paper-Weather-Display Unfortunately I don't have any idea how to integrate it myself but it works without issues. Keep up your great work, thanks for uploading this! |
Thanks for the suggestion. When I have some time later next week, I will look into integrating support for u8g2. |
For now I added the extended ascii character set (5939ad9). See https://www.ascii-code.com/. |
That was a quick one. Looks great, I'll test and give feedback. Thanks! |
Works like a charm! Thanks for fixing this so quickly. |
Glad to hear. I would like to have better support for more character sets. I am considering adding the u8g2 library you suggested. Alternatively, I think proper utf-8 support would be ideal, but due to flash storage constraints, this may unfortunately not be feasible. Until I get a chance to evaluate this further I will leave this issue open. |
Update: I looked into modifying the adafruit-gfx library to add utf-8 support. It seems this will not work due to flash size limitations. Even just the Basic Multilingual Plane (https://en.wikipedia.org/wiki/Plane_(Unicode)) would result in a size of ~13.9MB for only the largest font size needed. Possible paths forward:
|
I appreciate you're still looking into this. For me your latest addition with the ascii character set works perfectly fine. Are there any lmitiations with it? |
The main limitation is that you can only use the set of 255 characters in the extended ascii character set. Unicode, more specifically utf-8 would enable the use of many more characters. |
Thanks for your great work! Also, for reference, I used uncompressed Chinese fonts in two sizes (12pt/16pt), which worked well on FireBeetle 2 ESP32-E, here's the flash usage info when building. |
Hi first of all, great project! Thank you. Also for absolute newbie like me, i suceeded!
I made a translation into german, but can I also change the charakter set? I need the characters "ä", "ö" ...
Thank you,
Mathias from Austria
The text was updated successfully, but these errors were encountered: