Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
1
Question by frank · Aug 28, 2010 at 02:53 PM · guicharacters

Question about foreign language characters on GUI

Hi,all! I'm trying to let some foreign language characters be shown on GUI, like chinese or japanese or something. I drag the .ttf file from the Fonts folder to Unity and create a new GUISkin using this .ttf and apply it to a GUI. But still all of the non-english characters are "???". Is there anyone could give me a hand? I've stuck on this problem for a long time. THX!

my unity is 2.6.1, free version. Neither on Mac or Windows could Unity show the foreign language characters correctly on GUI.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Eric5h5 · Aug 28, 2010 at 08:34 PM

Just use UTF-8 encoding for the script.

alt text

Comment
Add comment · Show 7 · 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 frank · Aug 29, 2010 at 01:08 AM 0
Share

THX, dude! I will have a try.

avatar image frank · Aug 29, 2010 at 01:12 AM 0
Share

Another question, maybe stupid. How can I tell whether it is UTF-8 encoding? If not, how can i transform it to UTF-8?

avatar image Eric5h5 · Aug 29, 2010 at 03:08 AM 0
Share

@CHyTER: It should say so in your editor. To change it, there should be a menu item or preferences item somewhere. If not, get a new editor. ;)

avatar image frank · Aug 29, 2010 at 04:04 AM 0
Share

Thanks again...

avatar image frank · Aug 29, 2010 at 08:29 AM 0
Share

I changed the text to UTF-8, but they are still "???"...

Show more comments
avatar image
0

Answer by swatinandy89 · Jun 07, 2012 at 09:04 AM

@frank I know this is a closed thread but can you tell me how did you solve this? I am facing the same problem.

Comment
Add comment · Show 2 · 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 Gurc · Apr 04, 2013 at 05:12 PM 0
Share

Checkout http://forum.unity3d.com/threads/164726-Using-unicode-(UTF-8-UTF-16)-script-in-$$anonymous$$onoDevelop.

In short: open with notepad++. Convert to utf-8 (not the one without bom). It worked for me.

avatar image charlesSimx · Mar 18, 2020 at 09:07 AM 0
Share

Try increasing the size of the Atlas Width and Atlas Height in your SDF font file. I work in Japanese and increasing the size made sure all the glyphs in the font file were included.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Scandinavian letters 'Æ', 'Ø' and 'Å' 2 Answers

Using Polish characters in OnGUI 1 Answer

UTF-8 for foreign language characters on GUI 2 Answers

Allow specific characters on GUI textField? 1 Answer

Make accented letters show in text field on Android? 2 Answers


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