Hello there! You are currently visiting gopherspace through a
proxy. To learn more about gopher and how to browse it, read this.
______________________________________________________________________

#!/bin/sh

# Recursively runs convmv on a path with every possible charset.
# By running this and scrolling through the output, it is possible
# to determine an unknown charset.
#
# Requires convmv.

me=`basename "$0"`
if [ "$#" -ne 1 ]; then
echo "usage: $me path"
exit
fi

for enc in `convmv --list`; do
printf "%72s\n" | tr " " -
echo "# Testing $enc"
echo ""
yes | convmv -f $enc -t utf8 -r $1
printf "%72s\n" | tr " " -
echo ""
done