nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhshow/test-charset failures in nmh-1.7 (`Can't convert ?us-ascii to UTF-8')

2017-11-23 10:45:09
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

<Prev in Thread] Current Thread [Next in Thread>