[FFmpeg-devel] Win UTF8 patch vs WinCE (Was Re: [PATCH] Check for the isatty function)
Fri Jul 24 19:31:37 CEST 2009
Martin Storsj? wrote:
> On Fri, 24 Jul 2009, Martin Storsj? wrote:
>> I tested this and found out that it's actually way more complicated than
>> than I thought. I'll try to list all the major issues I ran in to:
>> - CommandLineToArgvW doesn't exist on WinCE (neither on mingw32ce nor on
>> MSVC). I tried to hack together a seemingly compatible replacement, but
>> that's 90 lines extra cruft. (Attached for reference.) I also noticed
>> that this function isn't available on win9x, FYI.
> Found another issue related to this: On WinCE, the command line given by
> GetCommandLineW() doesn't contain the executable name, while it does on
> desktop windows. To work around this, one would have to do something
> similar to this patch, attached.
> // Martin
How about just disabling UTF8 support on Windows OS's that obviously don't
really want to support it, like WinCE and Win9x?
More information about the ffmpeg-devel