fix failing test and DEFAULT_CHARSET replaces latin-1