Attached is a test-project which reads an XML-file. The XML-file is in the files-folder.
When parsing this file, the result from reading the field "e2eventtitle" (also the field "e2eventname" but no others) always shows, what I believe is, a control-character at the beginning and at the end of the resulting string. The odd thing is that the control-character is only shown in Gingerbread (two devices and emulator) but not in ICS.
It is probably easier if you test the project to see what I mean.
I have tried trimming, checking for CTRL, chr(10) and other control-characters to replace but in vain. I thought about deleting the first character and the last character of the resulting string but unfortunately in some XML-files, this control-character is not present so I cannot do that.
Help to delete this character would be appreciated. Also I would like to understand why it does not show up in ICS? Perhaps a font-issue?
When parsing this file, the result from reading the field "e2eventtitle" (also the field "e2eventname" but no others) always shows, what I believe is, a control-character at the beginning and at the end of the resulting string. The odd thing is that the control-character is only shown in Gingerbread (two devices and emulator) but not in ICS.
It is probably easier if you test the project to see what I mean.
I have tried trimming, checking for CTRL, chr(10) and other control-characters to replace but in vain. I thought about deleting the first character and the last character of the resulting string but unfortunately in some XML-files, this control-character is not present so I cannot do that.
Help to delete this character would be appreciated. Also I would like to understand why it does not show up in ICS? Perhaps a font-issue?