[FFmpeg-devel] [RFC][PATCH] Windows Television (WTV) file system handling
Sat Jan 22 12:07:12 CET 2011
Le tridi 3 pluvi?se, an CCXIX, Reimar D?ffinger a ?crit?:
> I am not really very comfortable of getting into the compatibility
> nightmare of wchar_t.
> In particular I think you are assuming that wchar is compatible with
> UCS-2, but I think that there have been other wchar formats.
I confirm: on Solaris 8-9 or something, wchar_t is the Unicode codepoint in
UTF-8 locales but in ISO-8859-1 locales, non-ASCII characters are coded with
some kind of high-order bits set. I do not remember the details, but I am
certain that is definitely not the Unicode codepoint. The fact that the same
character has different wchar_t values depending on the locale is especially
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel