[MPlayer-dev-eng] [PATCH] Use _NET_WM_NAME for UTF-8 title in X11 if supported

Sergey Pinaev dfo at antex.ru
Wed Jun 21 21:01:38 CEST 2006


On Wed, 21 Jun 2006 13:32:52 -0400
The Wanderer <inverseparadox at comcast.net> wrote:

> >> And have two setlocale call for each printf, sprintf, snprintf,
> >> fprintf, scanf, scanf, strcasecmp and lots of other functions.
> >> Probably > 500k of code size, and for what?
> > 
> > Nope. If you always want dots instead of locale's separators - you
> > have _one_ call at the beginning of main().
> 
> And what about when you later want to *output* numbers with decimal
> separators - which "should" be formatted according to the locale's
> conventions? You then need a call to unset LC_NUMERIC - but if you then
> need to read or otherwise handle input again, you need a call to set
> LC_NUMERIC to "C" again. But of course you may need to unset it again
> after that, and...

And what about when you need to *output* numbers to user, and then you
need to *send* numbers to another machine over the net, and then again
you need to *output* it to user? Every time you should call ntohl and
htonl!!!!111oneeleven!
That discussion is really stupid. You have the tool to do things as you want.
If you do not want to use that tool - you are "sam sebe zlobniy buratin".
Sorry, i dont know how to say this in english =/

-- 
mail="Sergey Pinaev <dfo at antex.ru>"
url="http://`echo $mail | sed 's/.* <\(.*\)@\(.*\)>/\1.\2/'`"



More information about the MPlayer-dev-eng mailing list