[vlc-devel] vlc: svn commit r12190 (courmisch)

Subversion daemon svn at videolan.org
Sun Aug 14 18:28:59 CEST 2005

r12190 | courmisch | 2005-08-14 18:28:59 +0200 (Sun, 14 Aug 2005) | 15 lines
Changed paths:
   M /trunk/modules/gui/wxwidgets/wxwidgets.cpp

Don't set LC_NUMERIC in the wxWidgets plugin.

It's already set to C globally because there are a bunch of things that
assume US-style float numbers formatting (config file, RTSP VoD server
to name a few) -- see SetLanguage() in libvlc.

If you want to get a float from the user, you can look for the comma
and replace it with a dot before parsing. However keep in mind that the
stream output parser already uses the comma to separate options; that's
yet another reason to use the dot in any case.

Also, I don't know if some remote locales use neither dot nor comma as
their decimal point.

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list