add test for different charsets