Mercurial > repo
view bin/from-8bit @ 9950:7f0e7ff05273
<oerjan> revert 9947
author | HackBot |
---|---|
date | Mon, 12 Dec 2016 02:44:19 +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"