This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

~% in format


Is ~% in a format string required by the specification to return just one
character, #\newline? I was expecting it to return the same characters as
Java gives you for System.getProperty("line.separator"), since this is
presumably the recommended way to end lines on each system. Under Windows,
there is a difference: the Java line separator is \r\n, whereas ~% returns
\n.

Jocelyn Paine
http://www.ifs.org.uk/~popx/
+44 (0)7768 534 091 




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]