On Friday 12 August 2011, Hauke Lathus wrote:
> cat /dev/stdin > utf8cond.txt
> iconv -f utf-8 -t utf8 utf8cond.txt >/dev/null 2> /dev/null && cat
> utf8cond.txt || iconv -f iso-8859-1 -t utf-8 utf8cond.txt
> rm utf8cond.txt

The two middle lines would need to be concatenated into one, of course.

h

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to