[Ffmpeg-devel] AVOptions

Måns Rullgård mru
Tue Sep 13 20:44:46 CEST 2005


"Dario Andrade" <dario at ip.tv> writes:

>> The point was that you can't use strcasecmp, because setlocale can
>> > break it.
>> 
>> It could, but AFAIK all commonly used encodings are ASCII compatible.
>> Things like UTF-16 are rarely used.
>
> UTF8 is becoming pretty popular in Java.

UTF-8 is becoming popular in many places.  Java uses utf-16
internally, well in line with all the other absurd things it does.

> But sincerely, I don't undertand why option keys can't just be enforced as
> ascii 7-bit clean?
> Imagine writing C code in chinese...

I've had to deal with code containing Chinese comments and text
strings, and, no, it wasn't fun.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list