Mercurial > repo
view bin/from-8bit @ 4421:114398f3b359
<kmc> printf \'echo "$1" | /hackenv/lib/cdecl\\n\' > bin/cdecl && chmod +x bin/cdecl
author | HackBot |
---|---|
date | Sun, 09 Feb 2014 02:02:01 +0000 |
parents | 4ac5187eb119 |
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"