I have a program that saves a textbox to a file using XML.Serialization.XMLSerializer.
The saving and loading work correctly.
Problem is, when I display the string from the load operation, there are little square characters that appear in the textbox where newlines should be.
I am using Visual Basic.NET 2008
Anyone else had this problem before?
I at first thought the deserialization process might have ate some of the newlines or loaded them incorrectly (i.e., CR or LF instead of CRLF). However, if I copy the contents of the textbox to any other program, they return CRLF, just as the string should be.
Here's a more visual example of what I mean. Here's the original:
After saving and loading that file, I get this instead:
Thanks in advance!!
Edited by Billy O'Neal, 26 June 2008 - 11:16 PM.