[jdom-interest] \r\n problem

Kem Morehead kmorehead at idiominc.com
Mon Aug 28 08:51:57 PDT 2000


I have a windows file with a \r\n (of course - ugh!). I am creating an xml
file on unix which takes the \r\n and correctly reads it as two bytes, makes
no interpretation of its own (thank you, unix) and sends it off. I am using
jdom in the j++ ide and, if I simply read the InputStream I see the two
bytes. However, when I read it using getContent in jdom I only get the \n.
Any ideas why this is happening?

Thanks so much!

kem

-------------------------------------------------
Kem Morehead, software engineer
Idiom, Inc. [www.idiominc.com]
781.464.6113
kmorehead at idiominc.com
IM: KemMorehead




More information about the jdom-interest mailing list