Added charset overriding for unsupported charsets.