[MPlayer-dev-eng] [PATCH] Use _NET_WM_NAME for UTF-8 title in X11 if supported
Ivo
ivop at euronet.nl
Wed Jun 21 11:04:02 CEST 2006
On Wednesday 21 June 2006 08:34, Sergey Pinaev wrote:
> On Wed, 21 Jun 2006 01:53:57 -0400
> I didnt get your point. Thats exactly why LC_NUMERIC exist. If you want
> "same format regardless of locale" - you call setlocale(LC_NUMERIC, "C");
> If you want "printing messages in the user's own cultural conventions" -
> you call setlocale(LC_NUMERIC, ""). (And user that does not like "," in
> place of "." just sets LC_NUMERIC to "C" in his shell profile =/)
The problem lies, for example, in parsers that use scanf to read a float
value. If the locale enforces a ',' as decimal separator, reading 1.2:3.4
with %f:%f will fail. Setting all sorts of LC_* environment variables is
not something most "normal" users know about.
--Ivo
More information about the MPlayer-dev-eng
mailing list