El día Friday, June 03, 2016 a las 01:35:40AM -0400, Xu Wang escribió:
> Hello,
>
> When I pipe email I see the following header:
>
> To: Jeri =?utf-8?Q?Ker=C4=B1ko?= <[email protected]>
>
> I would like to get the name with the UTF8 character, without special
> code, which in this case is: Jeri Kerıko (note that the last i has no
> dot)
> Is there a Linux command that can convert the special code to actual
> UTF8 character which my terminal know how to display and actually
> display correctly in mutt, but not when I pipe to custom script.
>
> What is the name for that special code? is it encoding? I see also header
> Content-Type: text/plain; charset=us-ascii
> but does that refer only to body or does that mean that the above
> special code is us-ascii and I must look for ascii to utf8 converter?
Hello,
$ echo 'Ker=C4=B1ko' | mmencode -u -q
Kerıko
$ echo 'Ker=C4=B1ko' | mmencode -u -q | od -tx1
0000000 4b 65 72 c4 b1 6b 6f 0a
0000010
matthias
--
Matthias Apitz, ✉ [email protected], ⌂ http://www.unixarea.de/ ☎
+49-176-38902045
"Die Verkaufsschlager des Buchmarkts geben Auskunft über den Zustand einer
Gesellschaft bzw.
sind, was diese Zeiten angeht, Gradmesser fortschreitenden Schwachsinns. ..."
(jW 19.05.2016)