Page 1 of 1

Default Encoding changes to UTF16 under windows since 3.0

Posted: Fri Sep 13, 2013 5:02 pm
by samsam598
Greetings!

Learnt from the doc this change under windows but keeps UTF8 encoding under *nix.Just wondering whether there is anything I should change or pay attention to according to this change,talking about my source code,or encoding of my source editor (say C::B),or when trying to interact with windows(or c)APIs?

Thanks and best regards,
Sam

Re: Default Encoding changes to UTF16 under windows since 3.

Posted: Fri Sep 13, 2013 5:12 pm
by doublemax
In Unicode under Windows, the encoding has always been UTF-16 (UCS-2 to be more exact). Which part of the docs are you referring to?

Re: Default Encoding changes to UTF16 under windows since 3.

Posted: Sat Sep 14, 2013 2:02 am
by samsam598
Thanks.I have thought this is the most newly change.

Here
http://docs.wxwidgets.org/trunk/overview_string.html

Re: Default Encoding changes to UTF16 under windows since 3.

Posted: Sat Sep 14, 2013 9:15 am
by doublemax
I think the new part is the UTF8 encoding on the other platforms. AFAIK that used to be UTF-32 before (not 100% sure about that as i only work under Windows).