Sujet : Re: iconv "versions"
De : OFeem1987 (at) *nospam* teleworm.us (Chris Ahlstrom)
Groupes : comp.os.linux.advocacyDate : 15. Mar 2024, 20:36:41
Autres entêtes
Organisation : None
Message-ID : <ut24fp$2djt0$1@dont-email.me>
References : 1 2
User-Agent : slrn/1.0.3 (Linux)
Nuxxie wrote this copyrighted missive and expects royalties:
On Thu, 14 Mar 2024 16:48:08 -0400, Chris Ahlstrom wrote:
>
Them damn GNU libraries! :-D
>
Nope. It's the damn PEBKC problem.
Nah. As I said, it works on the much newer version of iconv provided
by Arch Linux.
The GNU C Library contains three separate and distinct methods for
converting multi-byte character sequences:
>
ISO C90
ISO C90 Ammendment 1
Unix XPG2
>
All three involve "multi-byte external --> wide-char internal --> multi-
byte external" transformations.
>
You are obviously fucking up somewhere in this scheme.
Dost thou accuseth me of up-fucking? :-D
Since you are using iconv, which falls under Unix XPG2, I suggest
that you consult the example in section 6.5 of GLIB manual:
>
https://sourceware.org/glibc/manual/latest/html_node/Generic-Charset-Conversion.html
LC_TYPE does not apply to the situation I described.
Nor do wide-characters.
Of course I will have more work when I run this code on Windows.
In any case, I thank you for your input.
-- Your mode of life will be changed for the better because of good news soon.