RE: Unicode string handling

"Joe Pham" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
>I have taken the string keywords/parameters as applying to the 
>strings written to or read from the phone 

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?

>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.

>If maintaining compatability with existing code is most important 

IMHO, I think it is just because we may not have access to all the phones implemented in BitPim to easily make (and test) any updates.

>fix the phones that use the string as data to use the DATA class 
>instead (or list of bytes).

Ideally yes, however my previous point stands.

-Joe Pham




_____________________________________________________________________
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!




-------------------------------------------------------
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&kid0944&bid$1720&dat1642
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.