Stop sharing utf16-be flag across decoder/encoder