Naninovel scripts can't use chinese

The engine is not working as expected? Documentation is wrong or out of date? Let us know here!
Forum rules
We are not providing support via this forum; it's community-driven. For official support see https://naninovel.com/support/#naninovel-support
Post Reply
TonyLiao
Posts: 1
Joined: 21 Mar 2021 04:24

Naninovel scripts can't use chinese

Post by TonyLiao »

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

Elringus
admin
Posts: 521
Joined: 11 May 2020 18:03

Re: Naninovel scripts can't use chinese

Post 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.

|emon|
Posts: 2
Joined: 09 Apr 2023 16:51

Re: Naninovel scripts can't use chinese

Post 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

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: Naninovel scripts can't use chinese

Post 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.
|emon|
Posts: 2
Joined: 09 Apr 2023 16:51

Re: Naninovel scripts can't use chinese

Post 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!

Post Reply