Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Chinese characters are not showned in Flash | Unity3D v4.3.4f1

Discussion in 'Flash' started by stknk, Mar 13, 2014.

  1. stknk


    Feb 5, 2014

    I'm using Unity3D v4.3.4f1 and try to export my game in Flash and when I started the game my words are dissapeared.

    I'm using UnityVS to use visual studio and i set my project encodeing to Unicode. I also know (if i'm correct) that the flash is using UTF-8 encodeing which i think cause the problem.

    one of the code what I use:

    Code (csharp):
    1. drawLabel(winx - (timetitleposx), timeposy, "时间", time_fontsize, TextAnchor.MiddleCenter, TEXT_STYLE_BOLD);
    the drawLabel use GUI.Label to draw out the label.

    My question: Is there any way to use it in that way or should i add some simplified chinese font to make it work?

    It's worked in Android and Unity Webplayer . The Flash didn't make it.

    Thank you for your reply!
  2. RalphH



    Dec 22, 2011
    To be able to display these characters, you'll need to include a font that includes that characterset; the arial that is bundled with the player does not contain these characters due to size considerations.