nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] mhshow/test-charset failures in nmh-1.7 (`Can't conver


From: Ralph Corderoy
Subject: Re: [Nmh-workers] mhshow/test-charset failures in nmh-1.7 (`Can't convert ?us-ascii to UTF-8')
Date: Sat, 25 Nov 2017 16:11:14 +0000

Hi kre,

> I have no idea which (if any) might be suitable - locales, and char
> encodings aren't really a big interest of mine.

In a temporary directory...

    echo UTF-8 >in
    iconv -l |
    while read -r cs; do
        iconv -f UTF-8 -t $cs <in >out 2>/dev/null || continue
        cmp -s in out || echo $cs
    done |
    fmt

Something like `UCS-4LE' would be widespread?

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]