[vlc-devel] [vlc-commits] lua http: use us_tostring() to fix locale issues with decimals
Rafaël Carré
funman at videolan.org
Sun Mar 25 18:10:34 CEST 2012
Le 2012-03-25 12:08, Rémi Denis-Courmont a écrit :
> Le dimanche 25 mars 2012 06:05:20 Pierre Ynard, vous avez écrit :
>> vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun Mar 25
>> 05:04:40 2012 +0200| [1e9dc2967b7bb058d19231740bb64edaa8533ae8] |
>> committer: Pierre Ynard
>>
>> lua http: use us_tostring() to fix locale issues with decimals
>>
>> The function is a bit ugly but it's difficult to do this using
>> pure arithmetic.
>
> Yes it is ugly.
>
>> Fixes #6378
>
> I think Rafaël wrote a proper fix for this in contrib a while ago already...
lua uses locale specific decimal separator only if parsing with '.'
failed iirc.
More information about the vlc-devel
mailing list