Mercurial > repo
view bin/from-8bit @ 9718:f4feceb21227
<shachaf> mkx bin/culprist//hoat "$@" | awk \'{print substr($1,2,length($1)-2)}\' | xargs
author | HackBot |
---|---|
date | Fri, 18 Nov 2016 09:13:46 +0000 |
parents | 7f957c1f4661 |
children |
line wrap: on
line source
#!/bin/bash enc=$(echo "$1" | iconv -t iso8859-1 | chardet | awk '{print $2}') echo "$1" | iconv -t iso8859-1 | iconv -f "$enc"