public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/28278] New: Broken LC_CTYPE in nds_DE locale
@ 2021-08-27  9:07 benedikt-straub at web dot de
  2021-08-27  9:41 ` [Bug localedata/28278] " fweimer at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: benedikt-straub at web dot de @ 2021-08-27  9:07 UTC (permalink / raw)
  To: libc-locales

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

            Bug ID: 28278
           Summary: Broken LC_CTYPE in nds_DE locale
           Product: glibc
           Version: 2.33
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: benedikt-straub at web dot de
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

Hi,

I'm using Ubuntu MATE 21.04 with the Low German (nds_DE) system locale. With
the default settings for this locale I'm unable to type non-ASCII characters
such as äöüß in many applications.
The cause appears to be that /usr/share/i18n/locales/nds_DE defines LC_CTYPE to
en_DK which looks very weird. Manually exporting LC_CTYPE=de_DE.UTF-8 fixes the
bug for me.

I don't see why this is not the default setting. Most other LC_* variables use
the de_DE definition by default in nds_DE. Is this a bug, or is there a reason
why it's done this way?

Best regards and thanks in advance :)

---
P.S. I hope this is the right place for this topic; if not, please feel free to
point out where this belongs. The ubuntu package search told me my locales are
provided by the package `locales` which is provided by package `glibc` version
`2.33-0ubuntu5`. Original question was at
https://answers.launchpad.net/ubuntu/+source/glibc/+question/698525.

P.P.S. I'm also surprised that the locale definition uses the localized
language name "Neddersass'sch" although "Plattdüütsch" and "Plattdütsch" are
far more common forms. Nice to speak a language that can't decide on it's own
name. But that just as a side note :) Should I open a separate bug report for
this?

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

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

* [Bug localedata/28278] Broken LC_CTYPE in nds_DE locale
  2021-08-27  9:07 [Bug localedata/28278] New: Broken LC_CTYPE in nds_DE locale benedikt-straub at web dot de
@ 2021-08-27  9:41 ` fweimer at redhat dot com
  2021-08-27  9:41 ` fweimer at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2021-08-27  9:41 UTC (permalink / raw)
  To: libc-locales

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
What does this command show?

LC_ALL=nds_DE locale -k charmap

The expected output is:

charmap="UTF-8"

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

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

* [Bug localedata/28278] Broken LC_CTYPE in nds_DE locale
  2021-08-27  9:07 [Bug localedata/28278] New: Broken LC_CTYPE in nds_DE locale benedikt-straub at web dot de
  2021-08-27  9:41 ` [Bug localedata/28278] " fweimer at redhat dot com
@ 2021-08-27  9:41 ` fweimer at redhat dot com
  2021-08-27  9:58 ` benedikt-straub at web dot de
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2021-08-27  9:41 UTC (permalink / raw)
  To: libc-locales

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-08-27
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING

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

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

* [Bug localedata/28278] Broken LC_CTYPE in nds_DE locale
  2021-08-27  9:07 [Bug localedata/28278] New: Broken LC_CTYPE in nds_DE locale benedikt-straub at web dot de
  2021-08-27  9:41 ` [Bug localedata/28278] " fweimer at redhat dot com
  2021-08-27  9:41 ` fweimer at redhat dot com
@ 2021-08-27  9:58 ` benedikt-straub at web dot de
  2021-08-27 10:08 ` fweimer at redhat dot com
  2021-08-27 11:05 ` benedikt-straub at web dot de
  4 siblings, 0 replies; 6+ messages in thread
From: benedikt-straub at web dot de @ 2021-08-27  9:58 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #2 from Benedikt Straub <benedikt-straub at web dot de> ---
$ LC_ALL=nds_DE locale -k charmap
charmap="UTF-8"

$ LC_ALL=de_DE locale -k charmap
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
charmap="ANSI_X3.4-1968"

$ LC_ALL=C locale -k charmap
charmap="ANSI_X3.4-1968"

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

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

* [Bug localedata/28278] Broken LC_CTYPE in nds_DE locale
  2021-08-27  9:07 [Bug localedata/28278] New: Broken LC_CTYPE in nds_DE locale benedikt-straub at web dot de
                   ` (2 preceding siblings ...)
  2021-08-27  9:58 ` benedikt-straub at web dot de
@ 2021-08-27 10:08 ` fweimer at redhat dot com
  2021-08-27 11:05 ` benedikt-straub at web dot de
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2021-08-27 10:08 UTC (permalink / raw)
  To: libc-locales

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
This looks good. It's possible that these applications do not recognize nds_DE
as a UTF-8 locale. They should use nl_langinfo (CODESET) to determine the
character set, but they probably use some other, ad-hoc mechanism.

I do not think this is a glibc bug, sorry.

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

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

* [Bug localedata/28278] Broken LC_CTYPE in nds_DE locale
  2021-08-27  9:07 [Bug localedata/28278] New: Broken LC_CTYPE in nds_DE locale benedikt-straub at web dot de
                   ` (3 preceding siblings ...)
  2021-08-27 10:08 ` fweimer at redhat dot com
@ 2021-08-27 11:05 ` benedikt-straub at web dot de
  4 siblings, 0 replies; 6+ messages in thread
From: benedikt-straub at web dot de @ 2021-08-27 11:05 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #4 from Benedikt Straub <benedikt-straub at web dot de> ---
I assume the bug is probably in SDL2 then… I opened a new issue there:
https://github.com/libsdl-org/SDL/issues/4699

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

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

end of thread, other threads:[~2021-08-27 11:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27  9:07 [Bug localedata/28278] New: Broken LC_CTYPE in nds_DE locale benedikt-straub at web dot de
2021-08-27  9:41 ` [Bug localedata/28278] " fweimer at redhat dot com
2021-08-27  9:41 ` fweimer at redhat dot com
2021-08-27  9:58 ` benedikt-straub at web dot de
2021-08-27 10:08 ` fweimer at redhat dot com
2021-08-27 11:05 ` benedikt-straub at web dot de

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