FlatFile icon indicating copy to clipboard operation
FlatFile copied to clipboard

Accept Encoding argument for read|write

Open dimzon opened this issue 7 years ago • 3 comments

just accept it as parameter and pass to underlying StreamReader. Or even better - accept TextReader|TextWriter instead of Stream.

dimzon avatar Apr 11 '17 15:04 dimzon

I think this is a great idea - StreamReader seems to detect UTF8 encoding by default when converting to string (at least in the data I'm working with) so being able to specify an encoding would be ideal.

rsuk avatar Jun 22 '17 12:06 rsuk

I would also like this feature as I need to specify a special encoding for a weird converted COBOL codebase I have to read/write files for.

jholland918 avatar Sep 13 '17 21:09 jholland918

Hello @dimzon , @rsuk and @jholland918 I thnk that it will be introduced in #55

forcewake avatar Sep 22 '17 15:09 forcewake