Hi again Leonardo,
I also find this works, oddly.
$ printf '\344' |
> iconv -f EBCDIC-US -t '???us-as???cii???'; printf \\n
U
$
https://code.woboq.org/userspace/glibc/iconv/iconv_open.c.html#31 shows it starts by normalising the charset name, e.g. stripping `?'! -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy -- Nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
| Previous by Date: | Re: [Nmh-workers] mhshow/test-charset failures in nmh-1.7 (`Can't convert ?us-ascii to UTF-8'), Ralph Corderoy |
|---|---|
| Next by Date: | Re: [Nmh-workers] mhshow/test-charset failures in nmh-1.7 (`Can't convert ?us-ascii to UTF-8'), David Levine |
| Previous by Thread: | Re: [Nmh-workers] mhshow/test-charset failures in nmh-1.7 (`Can't convert ?us-ascii to UTF-8'), Ralph Corderoy |
| Next by Thread: | Re: [Nmh-workers] mhshow/test-charset failures in nmh-1.7 (`Can't convert ?us-ascii to UTF-8'), David Levine |
| Indexes: | [Date] [Thread] [Top] [All Lists] |