Hi. On Mon 2009-01-26 10:28, Julien Danjou <[email protected]> proclaimed: > At 1232961883 time_t, Frank Blendinger wrote: > > I know this is not really the topic of this list anymore, but does > > anyone can give me a hint how I could fix those bad UTF-8 chars? > > > > I thought about using recode, but since my text is already UTF-8 > > (besides the invalid chars), and the output has to be UTF-8, too, I > > could only do ``recode UTF-8..UTF-8'', which does not help. > > Try iconv instead?
Awesome idea. :-)
The trick is to _not_ specify an input encoding (no -f), so using just
``... | iconv -t UTF-8'' works great.
Now I can enjoy even those Russian spam mails in a naughty wibox. ;-)
Greetings,
Frank
--
Frank Blendinger | fb(at)intoxicatedmind.net | GPG: 0x0BF2FE7A
Fingerprint: BB64 F2B8 DFD8 BF90 0F2E 892B 72CF 7A41 0BF2 FE7A
"Just because I don't care doesn't mean I don't understand."
(Homer Simpson)
signature.asc
Description: Digital signature
