> We could sidestep that issue if binary I/O for text was in server
> encoding in all cases.
I think that would be reasonable, yes. After all one argument for using
binary mode is speed and efficiency, and not it's editability with
a text editor.
Andreas