[Bug 1828983] Re: isalpha() doesn't include Umlaute even if LC_CTYPE=de_DE.UTF-8
Gunnar Hjalmarsson
1828983 at bugs.launchpad.net
Tue May 14 16:35:41 UTC 2019
Thanks for your report. I can't reproduce the issue, though.
$ lsb_release -ds
Ubuntu Eoan Ermine (development branch)
$ python3
Python 3.7.3 (default, Apr 3 2019, 05:39:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print("öäüÄÖÜß".isalpha())
True
>>> quit()
Please elaborate and show us a reproducible use case.
** Changed in: glibc (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1828983
Title:
isalpha() doesn't include Umlaute even if LC_CTYPE=de_DE.UTF-8
Status in glibc package in Ubuntu:
Incomplete
Bug description:
Hope this is the right package and not glibc: Got a bug report for
wxMaxima that Umlaute ("öäüÄÖÜß") aren't treated as ordinary letters
anymore. As wxMaxima uses the isalpha() command in order to see if
something is a letter and since wxMaxima uses utf8 that meant that
isalpha() doesn't recognize an unicode umlaut as letter anymore. Which
solved my problem: ispell.el in emacs currently divides words at any
umlaut.
LC_CTYPE seems to be set correctly, though:
gunter at marius:~$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
...and I definitively use UTF8.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: locales 2.29-0ubuntu2
ProcVersionSignature: Ubuntu 5.0.0-14.15-generic 5.0.6
Uname: Linux 5.0.0-14-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue May 14 11:17:39 2019
PackageArchitecture: all
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1828983/+subscriptions
More information about the foundations-bugs
mailing list