Add normalize_codeset function. We don't want to use the