bug#81595: coreutils sort program seems that it is not properly processing Unicode U+232a.

ktt proc <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <CA+w=5sRimYqBmX5j8_fd+dY8Swu5q5aEg12T4G3BYJMnmoTj3g@mail.gmail.com>
Hello.

I am very grateful for the software you have created.

I am sending you the error information regarding the coreutils sort program.
It appears that it is unable to properly handle Unicode U+232a.

I would appreciate it if you could review this.

===== debian 13, coreutil 9.7 =====
debian 13$ cat ch
〈 U+2329
〉 U+232a
〈 U+3008
〉 U+3009
「 U+300c
」 U+300d
『 U+300e
』 U+300f
debian 13$ cut -f 1 ch | LANG=en.UTF8 sort -u
〈
〉
〈
〉
「
」
『
』
debian 13$ cut -f 1 ch | LANG=C sort -u
〈
〉
〈
〉
「
」
『
』
debian 13$ cut -f 1 ch | LANG=ko_KR.UTF8 sort -u
〈
〈
〉
「
」
『
』

*"*U+232a*" missing in ko_KR.UTF8 environment*

debian 13$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 13 (trixie)
Release: 13
Codename: trixie
debian 13$ sort --version
sort (GNU coreutils) 9.7
Packaged by Debian (9.7-3)


===== linux mint 22.3 =====
user1$ cat ch
〈 U+2329
〉 U+232a
〈 U+3008
〉 U+3009
「 U+300c
」 U+300d
『 U+300e
』 U+300f
user1$ cut -f 1 ch | LANG=en.UTF8 sort -u
〈
〉
〈
〉
「
」
『
』
user1$ cut -f 1 ch | LANG=C sort -u
〈
〉
〈
〉
「
」
『
』
user1$ cut -f 1 ch | LANG=ko_KR.UTF8 sort -u
〈
〈
〉
「
」
『
』

*"*U+232a*" missing in ko_KR.UTF8 environment*

user1$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 22.3
Release: 22.3
Codename: zena
user1$ sort --version
sort (GNU coreutils) 9.4

===== coreutils 9.11 my own build ===========
~/src/coreutils-9.11/src$ cat ch
〈 U+2329
〉 U+232a
〈 U+3008
〉 U+3009
「 U+300c
」 U+300d
『 U+300e
』 U+300f
~/src/coreutils-9.11/src$ cut -f 1 ch | LANG=en.UTF8 sort -u
〈
〉
〈
〉
「
」
『
』
~/src/coreutils-9.11/src$ cut -f 1 ch | LANG=C sort -u
〈
〉
〈
〉
「
」
『
』
f~/src/coreutils-9.11/src$ cut -f 1 ch | LANG=ko_KR.UTF8 sort -u
〈
〈
〉
「
」
『
』

*"*U+232a*" missing in ko_KR.UTF8 environment*

~/src/coreutils-9.11/src$ ./sort --version
sort (GNU coreutils) 9.11

~/src/coreutils-9.11/src$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 22.3
Release: 22.3
Codename: zena
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.