view bin/from-8bit @ 9073:58b9ee8f97a7

<moon__> le/rn evilipse/ the most obnoxious of evil people, likes to use chmod 000 / -R
author HackBot
date Sun, 25 Sep 2016 20:20:48 +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"