[m-dev.] Porposal: Support reading/writing either dos/unix file endings on any platform

Julien Fischer jfischer at opturion.com
Tue Nov 12 12:07:37 AEDT 2013


On Tue, Nov 12, 2013 at 12:06 PM, Paul Bone <paul at bone.id.au> wrote:

>
> io.open_input/4 and io.open_output/4 open files for text input.  This means
> that line endings are automatically translated between platforms.  If a
> UNIX-style OS is used the file is assumed to be in the UNIX format, if a
> DOS-style OS is used then the file is assumed to be in the DOS format.
> However these assumptions aren't always correct.
>

Note also bug #295.

Cheers,
Julien.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/developers/attachments/20131112/630a8642/attachment.html>


More information about the developers mailing list