Added test for latin1 charset.