[FFmpeg-devel] Win UTF8 patch vs WinCE (Was Re: [PATCH] Check for the isatty function)

Ramiro Polla ramiro.polla
Tue Jul 28 05:03:58 CEST 2009


On Fri, Jul 24, 2009 at 3:01 PM, Martin Storsj?<martin at martin.st> wrote:
> On Fri, 24 Jul 2009, Karl Blomster wrote:
>> How about just disabling UTF8 support on Windows OS's that obviously don't
>> really want to support it, like WinCE and Win9x?

Good idea. With a special section for WinCE in configure like we have
now it's easier.

> That's probably the easiest way out, yes. Unicode command line parameters
> work just fine anyway, the only difference is that users of libavformat
> have to enter data in the native multi-byte charset, instead of utf8.

Unicode works fine the way it is in WinCE?

Quoting Martin from another message:
> - 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.

Hmm, it seems this function is only available if MSLU is used. So in
the new patch I'll send in a while it'll just be plain disabled on
Win9x. It'll be left for lavf anyways, so users may link with MSLU and
still use Unicode in Win9x.

Ramiro Polla



More information about the ffmpeg-devel mailing list