Message App UTF8 #4682
Replies: 1 comment
-
Posted at 2022-05-15 by iii Bangle js doesn't support Unicode. You can enable transliteration in the gadgetbridge settings (device settings). Posted at 2022-05-15 by user143850 I have it enabled but still have same issue. p.s. Posted at 2022-05-15 by iii
I was wondering though if it would be possible to allow other codepages. That would require:
I would be very much interested in this feature, and probably could help. Posted at 2022-05-16 by gfric A full unicode font would probably take way too much memory. Posted at 2022-05-16 by malaire I think it would make more sense for Espruino to support UTF-8 strings, and then support fonts which include some parts of UTF-8, instead of having codepages. Posted at 2022-05-16 by malaire Not necessarily. For example 8x8 bitmap font needs 8 bytes per character and as of Unicode 14.0 there are 144 697 characters, so full font would take about 1.1 MB and would easily fit into Bangle.js 2 (This ignores the fact that you shouldn't just render each character as-is as there are complex rules of how some Unicode characters should be rendered.) Posted at 2022-05-16 by @gfwilliams So just to be clear: this is on a Bangle.js 2 and Gadgetbridge? As mentioned above, unicode itself (with right->left rendering and so on) would be pretty painful to handle on the Bangle. However we've got everything in place at the moment to allow Gadgetbridge to render characters/words that don't fit into ISO Latin into a bitmap, and then to just send that bitmap over. The big benefit there is it'll even handle Emoji. There's already some proof of concept code, and getting that sorted with the new Gadgetbridge build is high up my priority list |
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-05-15 by user143850
Hello,
Message app shows ??? instead of utf8 characters.
Beta Was this translation helpful? Give feedback.
All reactions