This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/23076] Iconv translitterate with profile
- From: "bruno at clisp dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 11 May 2019 13:32:37 +0000
- Subject: [Bug libc/23076] Iconv translitterate with profile
- Auto-submitted: auto-generated
- References: <bug-23076-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23076
--- Comment #15 from Bruno Haible <bruno at clisp dot org> ---
A note about transliteration in general:
glibc implements transliteration regarding a character set, and thus responds
to the frequent case (in the years 2000-2005) that an application needs to
process a file in UTF-8, while the locale is an 8-bit locale.
Nowadays, the more frequent use of transliteration is a culture-aware
transliteration from one script to another script. The charset is not the
important factor here. For example, when doing transliteration from Punjabi in
Gurmukhi script to Punjabi in Shahmukhi (Arabic) script, the input and output
are both UTF-8, therefore the glibc's transliteration system does not help. And
such use-cases are outside glibc anyway, since 99.9% of the applications don't
need culture-aware transliteration.
Therefore I think there is no need to extend glibc's transliteration facilities
any more. Separate packages are the way to go (and also easier to implement if
you can assume Unicode input and Unicode output, without the charset-related
baggage that glibc's transliteration carries).
--
You are receiving this mail because:
You are on the CC list for the bug.