[Ffmpeg-devel] AVOptions
    Rich Felker 
    dalias
       
    Tue Sep 13 22:37:50 CEST 2005
    
    
  
On Tue, Sep 13, 2005 at 03:20:10PM -0300, Dario Andrade wrote:
> 
> > 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.
> But sincerely, I don?t undertand why option keys can't just be enforced as
> ascii 7-bit clean?
They can, and are. The problem is that you just can't use strcasecmp
for case-insensitive comparisons, because it will compare the strings
in the current locale.
Rich
    
    
More information about the ffmpeg-devel
mailing list