Chinese, Japanese Fonts


Status
Not open for further replies.

TrustAugustus

Members
Apr 23, 2019
3
15
Hey guys. I am bilngual. I often use my phone in English. However when I do the Chinese characters are displayed in...(wait for it) Chinese style. When the language is set to Japanese they are displayed correctly. In non MIUI roms you Can select multiple languages. So I have both English and Japanese with English being the primary. Doing this dispays the fonts correctly in Japanese (ex. When I am reading an article or communicating with someone)

MIUI doesn't have this setting. The only solution is to use a font theme that does -not- include the Chinese Character style and -only- includes the Japanese style. Is there a better workaround? I like the standard Roboto/Noto/Google Sans fonts but they will all default to the Chinese Character style.

I appreciate any solution (or sympathy)

Cheers.
 
  • Like
Reactions: rocker2511
I have the same issue, I just switched from Samsung to Xiaomi, and this is the first big regret I encountered. With Samsung, I could put in multiple system languages, in my case German, English and Japanese, and all Kanji were displayed correctly in the Japanese form. Now however, unless I set the entire system language to Japanese, I get the Chinese letters. I would very much appreciate to have an option for multiple languages.
 
The only workaround I have found is to install a font which only contains the Japanese kanji. Not ideal, however. If you like I'll upload the best one I've found.
 
Is this really a font problem, or possibly an encoding problem?

Where do you all have these problems - in all or only some apps, or only in a browser?

Firefox has a settings item "character encoding", which must be enabled to be visible.

I get Unicode as default, but there are two Chinese options and 3 Japanese, amongst others.
 
It's not a font problem. It's probably an encoding problem. I believe in standard Android the font is CJK noto or a continuation of it. It contains Japanese, Korean and Chinese font for the system.

Xioami uses their own and without a way to select multiple languages it defaults to the Chinese encoding for Kanji unless the phone is in either Korean or Japanese language.

The workaround is to change a font that doesn't contain the Chinese characters so they are displayed correctly. Not ideal. As I believe changing the font with a theme is just an overlay.

The problem is universal. I think standard android fixed the problem with incorrect Chinese/Japanese/Korean character encoding in android 6.
Again, the problem only exists if you have your phone in a language other than Japanese/Korean. Setting system wife language as either will correctly display the correct Kanji (Chinese Character) in any other language it will set the Kanji (chinese character) to the chinese version.
 
Last edited:
Hey guys. I am bilngual. I often use my phone in English. However when I do the Chinese characters are displayed in...(wait for it) Chinese style. When the language is set to Japanese they are displayed correctly. In non MIUI roms you Can select multiple languages. So I have both English and Japanese with English being the primary. Doing this dispays the fonts correctly in Japanese (ex. When I am reading an article or communicating with someone)

MIUI doesn't have this setting. The only solution is to use a font theme that does -not- include the Chinese Character style and -only- includes the Japanese style. Is there a better workaround? I like the standard Roboto/Noto/Google Sans fonts but they will all default to the Chinese Character style.

I appreciate any solution (or sympathy)

Cheers.

I'm having the same problem. It's a shame that they don't have this simple feature in MIUI. I really regret having bought a Xiaomi phone. Is there any way to change this with root? How do I change the font to one w/o Chinese support? It is so confusing having to see the Chinese glyphs when using the Japanese keyboard. Which font do you recommend?

Edit: I found a way. Might not be the nicest way to do it, but it works. In /system/etc/fonts.xml I changed the font in <family lang="zh-Hans"> [...] </family> from Miui-Regular.ttf to NotoSansCJK-Regular.ttc and now it shows the correct Japanese version in Google Keyboard.
 
Last edited:
I'm having the same problem. It's a shame that they don't have this simple feature in MIUI. I really regret having bought a Xiaomi phone. Is there any way to change this with root? How do I change the font to one w/o Chinese support? It is so confusing having to see the Chinese glyphs when using the Japanese keyboard. Which font do you recommend?

Edit: I found a way. Might not be the nicest way to do it, but it works. In /system/etc/fonts.xml I changed the font in <family lang="zh-Hans"> [...] </family> from Miui-Regular.ttf to NotoSansCJK-Regular.ttc and now it shows the correct Japanese version in Google Keyboard.
Try removing these lines, let me know if it still works OK.
Code:
    <family lang="zh-Hans">
       <font weight="400" style="normal">Miui-Regular.ttf</font>
   </family>
   <family lang="zh-Hant">
       <font weight="400" style="normal">Miui-Regular.ttf</font>
   </family>
 
Try removing these lines, let me know if it still works OK.
Code:
    <family lang="zh-Hans">
       <font weight="400" style="normal">Miui-Regular.ttf</font>
   </family>
   <family lang="zh-Hant">
       <font weight="400" style="normal">Miui-Regular.ttf</font>
   </family>

That's what I did first before I replaced the font names. It both works, the right characters appear in Google Keyboard. Also I see didn't any negative effects (yet).
 
That's what I did first before I replaced the font names. It both works, the right characters appear in Google Keyboard. Also I see didn't any negative effects (yet).
Well, Miui-Regular.ttf doesn't exist since MIUI 11, so it weird that these entries exist. If you noticed, right after those two zh-Hans and zh-Hant, there two entries like these again. The first two entries are useless completely. We'll remove them for next release.
 
  • Like
Reactions: idevenl
Hey, is the method stated above still working? I have the same issue and I'm using Xiaomi Redmi Note 4 on MIUI 11. Any way to do this using Magisk systemlessly?
 
Hey, is the method stated above still working? I have the same issue and I'm using Xiaomi Redmi Note 4 on MIUI 11. Any way to do this using Magisk systemlessly?
Not sure. I'm trilingual; I speak English, Chinese, and Japanese, so the style of the Kanji/Hanzi doesn't matter to me because I can read both styles. What I've noticed is that while the Google keyboard still shows the Chinese style even when in Japanese input, some apps will show the Japanese style only when next to Japanese text. But I'm pretty sure apps can configure their own fonts, so that's probably intended.

In general, I found font editing pretty difficult. I used a theme editor to change the font, but you can only apply one font at a time. Usually when I apply a Chinese typeface, the Latin/English text becomes a little bit weird. I wish MIUI had an easier font management.
 
Status
Not open for further replies.