comparison bin/from-8bit @ 5643:56dcce63901b

<tswett> revert
author HackBot
date Sun, 21 Jun 2015 02:47:59 +0000
parents 7f957c1f4661
children
comparison
equal deleted inserted replaced
5642:987c834ab84d 5643:56dcce63901b
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"