Japanese characters appear as blanks

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

Japanese characters appear as blanks

by Byakuren » Fri Jun 17, 2016 18:28

I am able to display some unicode text, but japanese text turns into blanks. I used this test code:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_on_joinplayer(function(player)
        minetest.chat_send_all("test")
        minetest.chat_send_all("lambda> λ") -- Non-japanese unicode
        minetest.chat_send_all("a> あ")
end)


I am running Debian Stretch.

This was the output:
debugoutputscreen.png
debugoutputscreen.png (29.64 KiB) Viewed 299 times


EDIT: works after changing font to one that supports the characters.
Every time a mod API is left undocumented, a koala dies.
 

User avatar
srifqi
Member
 
Posts: 508
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi

Re: Japanese characters appear as blanks

by srifqi » Mon Jun 20, 2016 18:09

What version of Minetest do you have? I think this already fixed (#2891). Turkish character was getting same behavior (#2847).
I'm from Indonesia! Saya dari Indonesia!
Terjemahkan Minetest!
Mods by me. Modifikasi oleh saya.

Pronounce my nick as in: es-rifqi (IPA: /es rifˈki/)
 

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

Re: Japanese characters appear as blanks

by Byakuren » Mon Jun 20, 2016 21:28

srifqi wrote:What version of Minetest do you have? I think this already fixed (#2891). Turkish character was getting same behavior (#2847).


Yeah, I already edited the OP to say that it was just an issue that my font didn't have the characters.
Every time a mod API is left undocumented, a koala dies.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 28 guests

cron