Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: milali on March 21, 2013, 01:10:03 AM

Title: UIWidgetInspector in 2.5
Post by: milali on March 21, 2013, 01:10:03 AM
Hi UIWidgetInspector in 2.5 appears to be in UCS-2 little endian and not ANSI

when I switch it to ANSI I get corruption on the widget inspector for alignments.
Title: Re: UIWidgetInspector in 2.5
Post by: ArenMook on March 21, 2013, 10:37:18 AM
So... why do you switch it then?
Title: Re: UIWidgetInspector in 2.5
Post by: milali on March 21, 2013, 05:01:47 PM
because it doesn't compile on some machines

WE have had to switch it to UTF-8 and it compiles on all machines but the symbols are corrupted for alignment
Title: Re: UIWidgetInspector in 2.5
Post by: milali on March 21, 2013, 05:11:31 PM
We also use Perforce for our source control if that is a factor
Title: Re: UIWidgetInspector in 2.5
Post by: ArenMook on March 22, 2013, 01:54:01 AM
Perhaps. I use Git here, and everything works fine. There is a #define within the code that falls back to the old drop-down list for Unity 3.5. You can just use that one instead.
Title: Re: UIWidgetInspector in 2.5
Post by: milali on April 07, 2013, 09:03:53 PM
kk
Title: Re: UIWidgetInspector in 2.5
Post by: jeldrez on June 19, 2013, 10:11:57 AM
Sorry for the bump, but this issue is hapenning in the newest version (2.6.3).
I just re-encode it to UTF-8 and it works. We also use perforce, but I don't think that could be the issue.

Title: Re: UIWidgetInspector
Post by: jeldrez on November 11, 2013, 04:14:10 PM
Sorry for a new bump, but I have this issue each time I do a NGUI update and I finally realize what it was. The filetype of UIWidgetInspector.cs in perforce was <utf16> and the other files was just <text>, I changed it to <text> and it works perfectly.

JFYI.