• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by Ryuuguu · Feb 25, 2011 at 07:02 PM · unicode

making Unicode (Japanese) TextMesh

I am trying to get TextMesh to display with a unicode font ( I want to use Japanese). I have read the manual page. http://unity3d.com/support/documentation/Components/class-Font.html and put tried font settings of both dynamic and unicode, but even for ASCII I am not getting proper display. Fot a font I am using http://sourceforge.net/projects/monafont/files/monafont/ which is kinda old (2003) so that may be a problem.

If anyone thinks it is the font, can they suggest a royalty free Unicode font? No really import what it looks like, for production we can choose and pay for a nice font. Now I would just like to show the code works.

Comment

People who like this

0 Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image maspi · Sep 22, 2011 at 07:14 PM 0
Share

Have you tried "Arial unicode.ttf"?

2 Replies

  • Sort: 
avatar image

Answer by Borgo · Sep 22, 2011 at 08:18 PM

The file you save can be the problem. You need to save your script file with the encode "UTF-8".

Example: If you have the notepad++ installed, open your script and go to "Format > UTF-8 Encode" (Or something else, my notepad++ is in the portuguese language).

The manual page say:

You simply have to save your scripts with UTF-16 encoding

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by bnmindstorm · Jun 29, 2012 at 12:36 PM

I think you should have a look at this thread, it summarizes the issues and the solutions related to the fact of having ideogram-based texts in unity :

http://answers.unity3d.com/questions/16275/does-unity-support-utf-8-stringtext.html

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Does Unity support UTF-8 string/text? 5 Answers

Read unicode characters from TextAsset? 0 Answers

how to set a 3d text to a right to left unicode text? 0 Answers

How does Unity handle grapheme clusters when building font textures? 0 Answers

How to Get a Char from his name ? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges