[FFmpeg-devel] [PATCH] Support for UTF8 filenames on Windows

Karl Blomster thefluff
Sat Jul 18 20:36:24 CEST 2009


Ramiro Polla wrote:
> On Sat, Jul 18, 2009 at 2:11 PM, Karl Blomster<thefluff at uppcon.com> wrote:
>> Ramiro Polla wrote:
>>> On Sat, Jul 18, 2009 at 2:00 AM, Karl Blomster<thefluff at uppcon.com> wrote:
>>>> Ramiro Polla wrote:
>>>>> On Thu, Jul 16, 2009 at 2:55 PM, Karl Blomster<thefluff at uppcon.com>
>>>>> wrote:
>>>>>> Ramiro Polla wrote:
>>>>>>> On Thu, Jul 16, 2009 at 11:20 AM, Karl Blomster<thefluff at uppcon.com>
>>>>>>> wrote:
> [...]
>>>>> - Always get the Unicode command line and convert it to UTF8.
>>>> By all means, go for this if you feel up to it. Personally I was too lazy
>>>> to
>>>> do it since I didn't really need it myself (I submit patches mostly to
>>>> scratch my own itches) but it would be a nice improvement.
>>> Then assuming filenames that come through the command line are in
>>> UTF-8, we could choose between:
>> How were you going to make sure commandlines are received as UTF8? Force the
>> user to use the MinGW shell instead of cmd.exe?
> 
> No, by using GetCommandLineW() and converting UTF-16->UTF-8.

Oh, okay, I misunderstood what you wrote earlier. Sorry for the confusion.

Regards,
Karl Blomster



More information about the ffmpeg-devel mailing list