cs - Encoding as UTF-8, replacing invalid characters with ?