Test for char encoding issues