I have a input field/textbox and basicly the user presses a button to save the content of edittextbox.text to a stringparameter

are the charaters thats being saved.. so my question is where do they come from and how can i parse these out before saveing XML content?
when i debugg my textbox it shows up as a regular string without and strange characters so i cant use string.replace()
Dim leftXML As New Xml.Serialization.XmlSerializer(GetType(MyLib.ComputerSetting开发者_如何学JAVAs))
Dim myxml As System.IO.TextWriter = New IO.StreamWriter(SavePath)
leftXML.Serialize(myxml, CmpSettings)
myxml.Flush()
myxml.Close()
above code for XML save. object MyLib.ComputerSettings has a regular string parameter called Init

is an Unicode Hex Character: 'INFORMATION SEPARATOR ONE' (U+001F). (This was also in ASCII at 0x1F: US
, the "Unit Separator".)
You're probably encoding some separator in your serialization process.
精彩评论