Deutsch English Français Italiano |
<ut0dtj$233kv$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: vallor <vallor@cultnix.org> Newsgroups: comp.os.linux.advocacy Subject: Re: iconv "versions" Date: Fri, 15 Mar 2024 03:05:24 -0000 (UTC) Organization: A noiseless patient Spider Lines: 36 Message-ID: <ut0dtj$233kv$1@dont-email.me> References: <usvnq9$1r7ed$1@dont-email.me> <ut00ti$1qbd1$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 15 Mar 2024 03:05:24 -0000 (UTC) Injection-Info: dont-email.me; posting-host="f1faf8d83c61c8878f451dd0b9e27e4b"; logging-data="2199199"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lcyWyp0E6ibxzj+6DEs/4" User-Agent: Pan/0.155 (Kherson; 2d0b784 gitlab.gnome.org/GNOME/pan.git; x86_64-pc-linux-gnu) Cancel-Lock: sha1:mwmk1emeiTDNP7O7nXVY7SANb3s= X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ Bytes: 2385 On Thu, 14 Mar 2024 23:23:30 -0000 (UTC), vallor <vallor@cultnix.org> wrote in <ut00ti$1qbd1$1@dont-email.me>: > On Thu, 14 Mar 2024 16:48:08 -0400, Chris Ahlstrom > <OFeem1987@teleworm.us> > wrote in <usvnq9$1r7ed$1@dont-email.me>: > >> So I'm writing code that calls iconv(3), and it's reading a file >> encoded in an ISO-8859-1 character set and converting to UTF-8, and it >> keeps complaining about "invalid multibyte sequence". >> >> I'm pounding my head trying to debug the issue, goo-goo'ing for related >> issues, >> even trying a different implemenation. >> >> I give up, commit the code to my home "server" on the "Ubuntu" laptop. >> >> Later, I fire up the "Arch" laptop, pull the code, build it, run it, >> and run the test script. No problem! >> >> Although no version info appears in "man 3 iconv", the text is >> different, so something changed. >> >> Them damn GNU libraries! :-D >> >> At least it got me to write a slightly better conversion function, >> based on the "recode()" function in the Fluxbox code base. > > Running iconv(1) with the "--version" option gives some information. > > Could that clear up the mystery? BTW, Chris...you weren't reinventing the iconv(1) tool, were you? *<:-) -- -v