This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
~% in format
- To: kawa at sourceware dot cygnus dot com
- Subject: ~% in format
- From: Jocelyn Paine <popx at pop3 dot ifs dot org dot uk>
- Date: Wed, 29 Aug 2001 05:56:30 +0100 (GMT)
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