Author Topic: Localization Problem with special Characters  (Read 2711 times)

Mecze

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Localization Problem with special Characters
« 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"



This is the end result:



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?



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Localization Problem with special Characters
« Reply #1 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.