[FFmpeg-devel] [PATCH] configure's to_lower and to_upper fix on *bsd
Rich Felker
dalias
Fri Feb 8 20:22:32 CET 2008
On Fri, Feb 08, 2008 at 08:07:43PM +0100, Reimar D?ffinger wrote:
> Hello,
> On Fri, Feb 08, 2008 at 01:46:21PM -0500, Rich Felker wrote:
> > This is absolutely wrong. If the locale is Turkish then I will get
> > mapped to ? rather than i. Instead use:
> >
> > tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
>
> Given our experience so far I am tempted to bet we will find some idiot
> who broke even that with some tr implementation (though BSD surprisingly
> gets it right)...
> Everyone please look at the wonders of BSD tr:
> > echo "stuvw" | tr '[a-z]' '[A-Z]' | hexdump -C
> > 00000000 53 55 da 57 58 0a |SU?X.|
>
> Magnificent, isn't it (jep, that SUX quite hits the nail on the head)...
The issue is your locale.
Rich
More information about the ffmpeg-devel
mailing list