RE: Backslash n [OT] was Line Separator and Paragraph Separator

From: Kent Karlsson (kentk@cs.chalmers.se)
Date: Tue Oct 21 2003 - 07:17:36 CST


John Cowan wrote:
> In addition, the Rationale makes clear that internal newlines can be
> mapped to anything appropriate on output, including CR/LF and padding
> with blank spaces to fit into a card reader/punch environment:

Only for "text mode IO". Not for binary mode IO. If you want to
portably(*) deal
with Unicode IO, esp. UTF-16 and UTF-32 (either BE or LE), but also
UTF-8, use
binary mode IO.

                /kent k

-----------
(*) Portable here means: working the same way for the same input on each
platform, not "platform dependent".





This archive was generated by hypermail 2.1.5 : Thu Jan 18 2007 - 15:54:24 CST