Yung-Fong Tang wrote: > > UTF-16 <-> wchar_t* > > Wait.... be careful here. wchar_t is not an encoding. So.. in theory, you cannot >convert between UTF-16 and wchar_t. You, > however, can convert between UTF-16 and wchar_t* ON win32 since microsoft declare >UTF-16 as the encoding for wchar_t. > However, that is not universal true. Different platform can chose the size of >wchar_t and the internal representation of > wchar_t* according to POSIX. I know. Don't get me started on the usefulness of wchar_t... We handle this in our convenience function as best as we could figure out. That's what makes it _convenient_ ;-) [Granted, it might also not work everywhere, but it is better than nothing.] markus
- 3rd-party cross-platform UTF-8 support Changjian_Sun
- Re: 3rd-party cross-platform UTF-8 support David Starner
- Re: 3rd-party cross-platform UTF-8 support Kenneth Whistler
- RE: 3rd-party cross-platform UTF-8 support Carl W. Brown
- Re: 3rd-party cross-platform UTF-8 support Markus Scherer
- Re: 3rd-party cross-platform UTF-8 support Yung-Fong Tang
- Re: 3rd-party cross-platform UTF-8 supp... David Starner
- Re: 3rd-party cross-platform UTF-8 support Yung-Fong Tang
- RE: 3rd-party cross-platform UTF-8 supp... Markus Scherer
- RE: 3rd-party cross-platform UTF-8 support Yves Arrouye
- Re: 3rd-party cross-platform UTF-8 support Marcin 'Qrczak' Kowalczyk
- Re: 3rd-party cross-platform UTF-8 supp... Michael \(michka\) Kaplan
- Re: 3rd-party cross-platform UTF-8 supp... Andy Heninger
- Re: 3rd-party cross-platform UTF-8 supp... Andy Heninger
- Re: 3rd-party cross-platform UTF-8 supp... Andy Heninger
- Re: 3rd-party cross-platform UTF-8 support Andy Heninger
- Re: 3rd-party cross-platform UTF-8 support Tom Emerson
- RE: 3rd-party cross-platform UTF-8 support Carl W. Brown
- RE: 3rd-party cross-platform UTF-8 support Tom Emerson