Bug fix: read_charset didn't handle character mapping.