set charset case to match IANA name