no replacement encoding is needed in writer