Try a few encodings instead of assuming ascii