nmh-workers
[Top] [All Lists]

Re: mhfixmsg character set conversion

2022-02-12 08:05:19
Hi Steven,

If you still have the par from AUR which you've been using all this
time, could you make it available to me and I'll have a look.  An
email off list, or a URL, or... I don't mind.

I'll send it to you privately

Thanks, got it.

but we can do better than that.  I just thought to check archive.org
for the patch, and found it at
https://web.archive.org/web/20211124173449if_/http://sysmic.org/dl/par/par-1.52-i18n.4.patch

Thanks again, that has

    $ g 'seems not' *patch
    +        L"Warning: Locale seems not configured\n");
    $

Note the ‘L’; it's wide.

    $ tr -d \\000 <paraur |
    > LC_ALL=C egrep -oa '[ -~]*seems not configured'
    Warning: Locale seems not configured
    $
    $ sed -n l paraur | egrep -A7 'W[\\0]+a[\\0]+r[\\0]+n'
    \000\000\000\000\000\000\000W\000\000\000a\000\000\000r\000\000\000n\
    \000\000\000i\000\000\000n\000\000\000g\000\000\000:\000\000\000 \000\
    \000\000L\000\000\000o\000\000\000c\000\000\000a\000\000\000l\000\000\
    \000e\000\000\000 \000\000\000s\000\000\000e\000\000\000e\000\000\000\
    m\000\000\000s\000\000\000 \000\000\000n\000\000\000o\000\000\000t\
    \000\000\000 \000\000\000c\000\000\000o\000\000\000n\000\000\000f\000\
    \000\000i\000\000\000g\000\000\000u\000\000\000r\000\000\000e\000\000\
    \000d\000\000\000$
    $

-- 
Cheers, Ralph.

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