[FFmpeg-devel] [RFC][PATCH] Windows Television (WTV) file system handling

Nicolas George nicolas.george
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
braindead IMHO.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110122/08d9ce00/attachment.pgp>

More information about the ffmpeg-devel mailing list