Naninovel scripts can't use chinese

Posted: 21 Mar 2021 04:35
by TonyLiao

[youtube]https://youtu.be/6MeVoECdYrE[/youtube]


Re: Naninovel scripts can't use chinese

Posted: 21 Mar 2021 09:05
by Elringus

Hi, Naninovel can work with any language (including Chinese), but you have to use a compatible font; see https://naninovel.com/faq/#does-it-supp ... c-language for more info.


Re: Naninovel scripts can't use chinese

Posted: 09 Apr 2023 17:04
by |emon|

I tried to make a custom printer and changed the default font Roboto to YaHei Chinese font. It can show Chinese characters correctly in the custom printer prefab, but when I call the custom printer in a new script, it will show gibberish like TonyLiao posted in the video. How can I create a custom printer that supports Chinese? :oops: :oops: :oops: ImageImage


Re: Naninovel scripts can't use chinese

Posted: 09 Apr 2023 18:52
by idaot
  1. Check the custom printer in the scene hierarchy in play mode to ensure it is using the right font.
  2. Make sure the naniscript asset is formatted to UTF-8.

Re: Naninovel scripts can't use chinese

Posted: 09 Apr 2023 20:19
by |emon|
idaot wrote: 09 Apr 2023 18:52
  1. Check the custom printer in the scene hierarchy in play mode to ensure it is using the right font.
  2. Make sure the naniscript asset is formatted to UTF-8.

THANKS A LOT BRO, PROBLEM SOLVED!