Re: How to extract a floating point number locale-independantly
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: How to extract a floating point number locale-independantly
- From: Daurnimator <quae@...>
- Date: 2016年4月28日 11:27:01 +1000
On 28 April 2016 at 04:14, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>> Yes for the specific case of ",", before I read the code I was
>> thinking other locales might use something else that didn't conflict.
>
> Are there C locales that use something else, besides a dot or a comma?
Google around I couldn't find any, however I then looked at my local
locale database which revealed:
/usr/share/i18n/locales/fa_IR:mon_decimal_point "<U066B>"
/usr/share/i18n/locales/ps_AF: decimal_point "<U066B>"
This is the arabic decimal separator: ٫