Page 1 of 1

Japanese characters appear as blanks

PostPosted: Fri Jun 17, 2016 18:28
by Byakuren
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 304 times


EDIT: works after changing font to one that supports the characters.

Re: Japanese characters appear as blanks

PostPosted: Mon Jun 20, 2016 18:09
by srifqi
What version of Minetest do you have? I think this already fixed (#2891). Turkish character was getting same behavior (#2847).

Re: Japanese characters appear as blanks

PostPosted: Mon Jun 20, 2016 21:28
by Byakuren
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.