From: Florian Weimer <fweimer@redhat.com>
To: Jure Sah <jure.sah@t-2.com>
Cc: bug-glibc-locales@gnu.org
Subject: Re: Bug in sl_SI locale file
Date: Fri, 29 Nov 2019 12:02:00 -0000 [thread overview]
Message-ID: <87blsu3n8z.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <1c3abcc1-2b27-04f1-66a7-3a1929dddced@t-2.com> (Jure Sah's message of "Fri, 29 Nov 2019 12:12:59 +0100")
* Jure Sah:
> I would like to report a bug in the sl_SI locale, the version I have
> is labeled like this:
> % Language: sl
> % Territory: SI
> % Revision: 4.4
> % Date: 1997-11-05
>
> The problem is in the LC_NUMERIC section. The Thousands Separator
> (thousands_sep) is indicated as <U0020> which is a space
> character. This creates problems in scripts, because space is
> sometimes a delimiter and with this setting, numbers are sometimes
> merged inappropriately. This is a problem that does not exist if a
> different locale is used (which I would assume is the usual way people
> solve this issue).
>
> While a thousands separator is not commonly used, the technically
> correct character for this according to Slovenian number styling
> standards, would be <U002E> aka the dot. Likely this was not used, to
> avoid problems in compatibility with locales where the dot is a
> decimal separator (e.g.: English).
I can confirm that
<https://www.gov.si/assets/ministrstva/MDDSZ/VZD-/Resolucija-o-nacionalnem-programu-VZD.pdf>
linked from
<https://www.gov.si/podrocja/zaposlovanje-delo-in-upokojitev/varnost-in-zdravje-pri-delu/>
uses a dot as the separator:
| Zaradi duševnih motenj je bilo pri izbranih zdravnikih v Sloveniji med
| letoma 2009 in 2013 v povprečju 18.471 primerov bolniškega dopusta na
| leto, kar je 2,5 odstotka vseh bolniških dopustov.
Translated as (also linked available from the page):
| Doctors in Slovenia registered an average of 18,471 cases of sick
| leave per year due to mental disorders between 2009 and 2013, which is
| 2.5 per cent of all cases of sick leave.
I have filed a bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=25233>
Our version has since switched to a Unicode narrow non-breaking space,
and I think we also disable grouping. CLDR does not seem to have
accurate data (it uses a decimal point AFAICS).
Thanks,
Florian
prev parent reply other threads:[~2019-11-29 12:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-29 11:13 Jure Sah
2019-11-29 12:02 ` Florian Weimer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87blsu3n8z.fsf@oldenburg2.str.redhat.com \
--to=fweimer@redhat.com \
--cc=bug-glibc-locales@gnu.org \
--cc=jure.sah@t-2.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).