XML Serialization/Deserializtion turns \r\n to \n only???

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,

I serialize an object with a string type member that stores strings like "Line 1rnLine2rnLine3". I serialize this object but when deserlize it r is disappeard, i.e. the string comes as "Line 1nLine2nLine3". But the sepcs requires rn not only n. Is there any built in mechanism to keep these new line character as they were stored.

Regard

View the full article
 
Back
Top