Re: Unicode string handling

"Roger Binns" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <001b01c65d2b$b709fda0$3501a8c0@rogersqyvr14d3>
> As an exmample, you're writing a unicode string to the phone and 
> its physical length is more 'sizeinbytes', how would you truncate 
> the string/value/field?

Surely the Unicode string is first encoded into what the phone
uses, and then sizeinbytes truncates that?  (Did you notice how
prescient I was in making sure that this 'size' field could
never be ambiguous :-)

> >There is a problem at the moment with handling terminators of more 
> >than one byte 
>
> Untill this issue is addressed, current handling of unicode strings 
> will not work in all cases.

The terminator applies to the string on the phone which is in 
the phone encoding.  I don't see where the problem is.

Roger


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.