comparison bin/from-8bit @ 4531:7f957c1f4661

<oerjan> revert
author HackBot
date Sun, 16 Mar 2014 01:52:15 +0000
parents
children
comparison
equal deleted inserted replaced
4530:03afb1619ef2 4531:7f957c1f4661
1 #!/bin/bash
2
3 enc=$(echo "$1" | iconv -t iso8859-1 | chardet | awk '{print $2}')
4 echo "$1" | iconv -t iso8859-1 | iconv -f "$enc"