#1032890 iconv: misconverts some characters

Package:
libc-bin
Source:
libc-bin
Description:
GNU C Library: Binaries
Submitter:
Thorsten Glaser
Date:
2023-03-13 15:09:04 UTC
Severity:
normal
#1032890#5
Date:
2023-03-13 14:54:28 UTC
From:
To:
Probably a codepage data bug, but I don’t know what package that
would be; please reassign as suitable.

$ printf '%s' '~' | iconv -f ISO-IR-10 -t UTF-16LE | hexdump -e '1/2 "%04X" "\n"'
203E

This is supposed to be the Macron (U+00AF), not the Overline.

#1032890#10
Date:
2023-03-13 15:05:10 UTC
From:
To:
Hello,

Thorsten Glaser, le lun. 13 mars 2023 15:54:28 +0100, a ecrit:

In glibc, localedata/charmaps/SEN_850200_B (which has % alias ISO-IR-10)
says:

<U203E>     /x7e         OVERLINE

so it seems that's where it should be fixed, if it needs to be. Probably
better discuss directly with upstream on

https://sourceware.org/glibc/wiki/FilingBugs

Samuel