Hi All,
If I use the following to write string to my preferences file:
stream.WritePString(MyStringToStore)
All works fine, except if the text to store is something like:
© 2008 Me Enterprises
When read back, it appears like this instead:
© 2008 Me Enterprises
A funny little character has been saved along with the string. This
only does it if the text starts with @, if I omit the @ then there are
no problems.
Do I need to encode the string first or something?
RB2007r4 OS X
Thanks for your help.
All the best,
Mark.
------------------------------------------------------------
RB Class
"Killer Tool Bar" - theme-based x-platform toolbar
www.rbclass.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|