view bin/from-8bit @ 9234:880ceefc4145

<b_jonas> addquote ais523 hmm, I just remembered that I was formally trained to tune harps
author HackBot
date Tue, 11 Oct 2016 12:59:14 +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"