public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
@ 2013-10-28 17:11 maiku.fabian at gmail dot com
  2013-10-28 17:14 ` [Bug localedata/16095] " carlos at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: maiku.fabian at gmail dot com @ 2013-10-28 17:11 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16095

            Bug ID: 16095
           Summary: glibc should build an uz_UZ.UTF-8 locale, not only the
                    Latin1 locales uz_UZ uz_UZ.iso88591
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: maiku.fabian at gmail dot com
                CC: libc-locales at sourceware dot org

Created attachment 7259
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7259&action=edit
0001-Support-UTF-8-locale-for-Uzbek-in-Latin-script.patch

Version: current master

There is no UTF-8 locale for Uzbek written in Latin script:

    mfabian@ari:~
    $ locale -a | grep ^uz
    uz_UZ
    uz_UZ.iso88591
    uz_UZ.utf8@cyrillic
    uz_UZ@cyrillic
    mfabian@ari:~
    $ LC_ALL=uz_UZ locale charmap
    ISO-8859-1
    mfabian@ari:~
    $

I.e., although there is an UTF-8 locale for Uzbek written in Cyrillic
script, the Uzbek locales for Latin script are available only in
ISO-8859-1 encoding.

But Latin script is more common nowadays for Uzbek, see:

    http://en.wikipedia.org/wiki/Uzbek_language#Writing_systems

CLDR also made Latin script the default for Uzbek recently, see

    http://unicode.org/cldr/trac/ticket/6548 (Update country/language/pop for
Uzbek)

    http://unicode.org/cldr/trac/changeset/9155 (cldrbug 6548: Updated
Uzbekistan Latin/Cyrillic? usage to better reflect modern education / usage.)

Therefore, it is not nice to use a if only a non-UTF-8 locale
can be used for Uzbek in Latin script, it is not nice to use
non-UTF-8 locales nowadays if one can avoid it.

Therefore, an uz_UZ.UTF-8 locale should be  built as well.

Patch against current master attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug localedata/16095] glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
  2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
@ 2013-10-28 17:14 ` carlos at redhat dot com
  2013-10-28 17:38 ` joseph at codesourcery dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: carlos at redhat dot com @ 2013-10-28 17:14 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16095

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com,
                   |                            |cjlhomeaddress at gmail dot com

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
Chris,

What are your thoughts on this? Should we be globally using UTF-8 for all the
locales we put in SUPPORTED? It seems like everyone wants a UTF-8 locale these
days.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug localedata/16095] glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
  2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
  2013-10-28 17:14 ` [Bug localedata/16095] " carlos at redhat dot com
@ 2013-10-28 17:38 ` joseph at codesourcery dot com
  2013-10-28 17:44 ` cjlhomeaddress at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: joseph at codesourcery dot com @ 2013-10-28 17:38 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=16095

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
It's generally expected that any new locale will just be <locale>, using 
UTF-8, not <locale>.UTF-8 (that is, <locale>.UTF-8 is only, or at least 
primarily, for cases where <locale> is a pre-existing non-UTF-8 locale).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug localedata/16095] glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
  2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
  2013-10-28 17:14 ` [Bug localedata/16095] " carlos at redhat dot com
  2013-10-28 17:38 ` joseph at codesourcery dot com
@ 2013-10-28 17:44 ` cjlhomeaddress at gmail dot com
  2013-10-28 19:45 ` carlos at redhat dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cjlhomeaddress at gmail dot com @ 2013-10-28 17:44 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16095

--- Comment #3 from Chris Leonard <cjlhomeaddress at gmail dot com> ---
(In reply to Carlos O'Donell from comment #1)
> Chris,
> 
> What are your thoughts on this? Should we be globally using UTF-8 for all
> the locales we put in SUPPORTED? It seems like everyone wants a UTF-8 locale
> these days.

I am a big fan of UTF-8 whereever it can be used (as a general rule).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug localedata/16095] glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
  2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
                   ` (2 preceding siblings ...)
  2013-10-28 17:44 ` cjlhomeaddress at gmail dot com
@ 2013-10-28 19:45 ` carlos at redhat dot com
  2013-10-29  9:29 ` maiku.fabian at gmail dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: carlos at redhat dot com @ 2013-10-28 19:45 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16095

--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to joseph@codesourcery.com from comment #2)
> It's generally expected that any new locale will just be <locale>, using 
> UTF-8, not <locale>.UTF-8 (that is, <locale>.UTF-8 is only, or at least 
> primarily, for cases where <locale> is a pre-existing non-UTF-8 locale).

(In reply to Chris Leonard from comment #3)
> (In reply to Carlos O'Donell from comment #1)
> > Chris,
> > 
> > What are your thoughts on this? Should we be globally using UTF-8 for all
> > the locales we put in SUPPORTED? It seems like everyone wants a UTF-8 locale
> > these days.
> 
> I am a big fan of UTF-8 whereever it can be used (as a general rule).

In this case given the existing locale, and that most people want a UTF-8
locale, is there any reason not to enable Uzbek in UTF8?

I figure add it to SUPPORTED, and then check that it installs without error
encoded as UTF-8 and then check it in?

Am I missing anything else?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug localedata/16095] glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
  2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
                   ` (3 preceding siblings ...)
  2013-10-28 19:45 ` carlos at redhat dot com
@ 2013-10-29  9:29 ` maiku.fabian at gmail dot com
  2013-10-29  9:30 ` maiku.fabian at gmail dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: maiku.fabian at gmail dot com @ 2013-10-29  9:29 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16095

--- Comment #5 from Mike FABIAN <maiku.fabian at gmail dot com> ---
By the way, I built an tested my patch on Fedora 19, see:

https://bugzilla.redhat.com/show_bug.cgi?id=999535#c2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug localedata/16095] glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
  2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
                   ` (4 preceding siblings ...)
  2013-10-29  9:29 ` maiku.fabian at gmail dot com
@ 2013-10-29  9:30 ` maiku.fabian at gmail dot com
  2014-06-05 13:24 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: maiku.fabian at gmail dot com @ 2013-10-29  9:30 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16095

--- Comment #6 from Mike FABIAN <maiku.fabian at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #2)
> It's generally expected that any new locale will just be <locale>, using 
> UTF-8, not <locale>.UTF-8 (that is, <locale>.UTF-8 is only, or at least 
> primarily, for cases where <locale> is a pre-existing non-UTF-8 locale).

Which seems to be the case here, “uz_UZ” already exists and uses
ISO-8859-1 encoding, unfortunately.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-19998-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Oct 29 11:49:28 2013
Return-Path: <glibc-bugs-return-19998-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 20784 invoked by alias); 29 Oct 2013 11:49:28 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 20740 invoked by uid 48); 29 Oct 2013 11:49:23 -0000
From: "schwab@linux-m68k.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug manual/16074] Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.
Date: Tue, 29 Oct 2013 11:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: manual
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: 2.19
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-16074-131-oVptgdZrtf@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16074-131@http.sourceware.org/bugzilla/>
References: <bug-16074-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-10/txt/msg00357.txt.bz2
Content-length: 563

http://sourceware.org/bugzilla/show_bug.cgi?id\x16074

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.19

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed in 52e6d80.

--
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug localedata/16095] glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
  2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
                   ` (5 preceding siblings ...)
  2013-10-29  9:30 ` maiku.fabian at gmail dot com
@ 2014-06-05 13:24 ` cvs-commit at gcc dot gnu.org
  2014-06-05 13:27 ` schwab@linux-m68k.org
  2014-06-13 12:28 ` fweimer at redhat dot com
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-06-05 13:24 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16095

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  bd1b9d956b9ce90a5fa265bde97d984129cffae9 (commit)
      from  2bf1804182cc4bd671193587c8d5e3de45a9618e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bd1b9d956b9ce90a5fa265bde97d984129cffae9

commit bd1b9d956b9ce90a5fa265bde97d984129cffae9
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Nov 12 11:16:14 2013 +0100

    Install uz_UZ.UTF-8 locale (BZ #16095)

-----------------------------------------------------------------------

Summary of changes:
 NEWS                 |   20 ++++++++++----------
 localedata/ChangeLog |    5 +++++
 localedata/SUPPORTED |    1 +
 3 files changed, 16 insertions(+), 10 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug localedata/16095] glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
  2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
                   ` (6 preceding siblings ...)
  2014-06-05 13:24 ` cvs-commit at gcc dot gnu.org
@ 2014-06-05 13:27 ` schwab@linux-m68k.org
  2014-06-13 12:28 ` fweimer at redhat dot com
  8 siblings, 0 replies; 10+ messages in thread
From: schwab@linux-m68k.org @ 2014-06-05 13:27 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16095

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.20

--- Comment #8 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed in 2.20.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug localedata/16095] glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591
  2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
                   ` (7 preceding siblings ...)
  2014-06-05 13:27 ` schwab@linux-m68k.org
@ 2014-06-13 12:28 ` fweimer at redhat dot com
  8 siblings, 0 replies; 10+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 12:28 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16095

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-06-13 12:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-28 17:11 [Bug localedata/16095] New: glibc should build an uz_UZ.UTF-8 locale, not only the Latin1 locales uz_UZ uz_UZ.iso88591 maiku.fabian at gmail dot com
2013-10-28 17:14 ` [Bug localedata/16095] " carlos at redhat dot com
2013-10-28 17:38 ` joseph at codesourcery dot com
2013-10-28 17:44 ` cjlhomeaddress at gmail dot com
2013-10-28 19:45 ` carlos at redhat dot com
2013-10-29  9:29 ` maiku.fabian at gmail dot com
2013-10-29  9:30 ` maiku.fabian at gmail dot com
2014-06-05 13:24 ` cvs-commit at gcc dot gnu.org
2014-06-05 13:27 ` schwab@linux-m68k.org
2014-06-13 12:28 ` fweimer at redhat dot com

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).