Fixed charset case sensitivity issues

I think we need to have an "allow" list of charset encodings to make
test 4 pass in this suite.