#1379416: encode charset name to ascii to avoid unicode promotion of output
3 files changed