Tony Sweeney wrote on Tue, Feb 22, 2011 at 11:52:09 -0000:
> Which is why you should probably use iconv(1) or any of the APIs listed here:
> 
> http://www.unicodetools.com/
> 
+1 to iconv.

In reality, the editor-cmd.sh script will check whether the log message
(which, again, will be argv[1]) is in UTF-8 already or not, and run it
through 'iconv -f latin1 -t utf-8' if not.

It won't be long, but it won't be a one-liner.

> instead of dicking around with perl or sed and hard coded hand crafted single 
> character mappings.  There's potentially a lot more than just u-umlaut to 
> worry about.

Thanks,

Daniel

Reply via email to