Don't throw up on invalid characters when encoding to latin1, replace
with marker instead