Missing or wrong Unicode characters for Japanese Katakana
-
There are some missing or wrong Japanese Katakana letters in unicode font.
The sample code below shows the unexpected results.
from m5stack import * from m5stack_ui import * from uiflow import * import time screen = M5Screen() screen.clean_screen() screen.set_screen_bg_color(0xFFFFFF) label0 = M5Label('γγΉγγ±γΌγΉ', x=91, y=108, color=0x000, font=FONT_UNICODE_24, parent=None) label0.set_text_font(FONT_UNICODE_24) label0.set_text(str('γγΉγγ±γΌγΉ')) wait(5) label0.set_text('γγγ«γ»γγγ')- γγΉγγ±γΌγΉ => γγΉγγ±γΉ" ["γΌ" (0x30FC; Katakana-Hiragana Prolonged Sound Mark) is missing ]
- γγγ«γ»γγγ => γγγ«εΉγγγ ["γ»" (0x30FB; Katakana Middle Dot) is replaced with a wrong character (some character like "εΉ" but a bit different)]
Without these two characters("γΌ" and "γ»"), we have extreme difficulty in using Japanese text in a label.
Here lists my environment.
- Device: M5Stack core2
- firmware: v1.8.1 (via M5Burner)
- UIFlow: v1.8.1
-
I checked this on M5Stack Basic, and these two characters (0x30FC, and 0x30FB) were shown properly.
So this is the problem occurs only on core2.
v1.8.3 for core2 still has this problem, and I strongly wish It would soon be fixed.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login