Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Mecze on October 15, 2016, 01:28:42 PM

Title: Localization Problem with special Characters
Post by: Mecze on October 15, 2016, 01:28:42 PM
Hi, I open a new topic for this because I'm unable to find any other topic that suits my issue.

The Problem: When loading via CSV (Localization.CSV) NGUI Localization Class completely ignore special characters like "ó" or "í" or "ñ".

Look at this simple line i did for testing:

  1. Debug.Log(Localization.Get("Settings"));

Now look at the CSV for "Settings"

(https://www.dropbox.com/s/rh9hqpayapvepyp/CSVSettings.JPG?dl=1)

This is the end result:

(https://www.dropbox.com/s/qddgsh54m5w07na/DebugSettings.JPG?dl=1)

I'm not even showing the string on a Label!

I MUST be simply forgetting something super-obvious or something.

Also, yes, my font supports those symbols.. and also kind of unrelated since I havent used the resulting string on a Label yet.

It seems that fails to import that kind of Characters. Any Ideas?


Title: Re: Localization Problem with special Characters
Post by: ArenMook on October 17, 2016, 10:19:42 PM
You need to save your localization file as UTF-8, or Unity won't read it properly.