[MPlayer-dev-eng] [PATCH] Use _NET_WM_NAME for UTF-8 title in X11 if supported
The Wanderer
inverseparadox at comcast.net
Wed Jun 21 19:32:52 CEST 2006
Sergey Pinaev wrote:
> On Wed, 21 Jun 2006 11:40:25 +0200 Reimar Doeffinger
> <Reimar.Doeffinger at stud.uni-karlsruhe.de> 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...
(I get the feeling someone's going to ding me for something I've
completely missed, but I'm almost getting used to that.)
--
The Wanderer
Warning: Simply because I argue an issue does not mean I agree with any
side of it.
Secrecy is the beginning of tyranny.
More information about the MPlayer-dev-eng
mailing list