On Dec 23, 2005, at 12:15 PM, Bernard Sunderland wrote:

The problem that this raised is that when I enter a "£" symbol to a string, saving it with
    b.writeshort len(s)
    b.write s

Have you tried changing the first statement above to:

  b.writeShort lenB(s)

Anytime you have the possibility of having multibyte characters in the string you should use the lenB function. At least that has worked for me.

=== A Mac addict in Tennessee ===

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
  • £££ Bernard Sunderland
    • Re: £££ Harrie Westphal

Reply via email to