ignore invalid unicode chars in strings