On 8 May 2012 12:08, Marco Serantoni <[email protected]> wrote:
> On Tue, May 8, 2012 at 8:01 AM, Dick Hollenbeck <[email protected]> wrote:
>>
>>
>> This means that we eventually, we'll no longer need all the wxT() stuff,
>> since we
>> basically never put anything but ASCII characters in those wrappers and to
>> convert from an
>> ASCII string to UTF8 is simply a matter of copying bytes without any
>> conversion at all.
>> And converting ASCII bytes to UTF16 characters is simply a matter of
>> zeroing out the upper
>> byte.
>
>
> I don't think is that simple for cyrillic, japanese and languages that used
> accented or Diaeresized words.
> There is an hard work on some of those aspects, i don't think we want to
> trash it out.
>
> --
> Marco

wxT() is for strings that do not get translated - therefore only ASCII
characters are present and are therefore already UTF8. So there should
not be any special characters in these strings.

Best Regards, Brian.

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to