Re: Unicode string handling

"Joe Pham" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
>That is because you are treating the terminator as a byte.

Because that's how it is currently defined and implemented.  That's not to say it can't be changed, but it is what it is.

>The terminator should be in the encoding of the string.  Additionally
>there is no reason why the terminator can't be specified as u',' 
>or ",\x00".

Agreed, and that was why I pointed out this issue wrt unicode processing.

>I don't see any reason why this unified string class won't work 
>providing careful attention is paid to when conversions happen and 
>what encoding pieces of data (like the terminator) are in.

I don't think so either, but some underlying changes must be made to support unicode strings.  The issue is not to break current phones with the changes, but allows coders to trannsition their phone support to unicode strings smoothly and properly.  That was why I suggested the idea of not doing any unicode processing if no codec is specified.  Otherwise, I have no preference between a unified STRING class and a new unicode STRING class.

>I think it is especially dangerous abandoning old phones.

I don't think that's what we're saying, but we do need access to the phone to test out any changes.  In my particular case, I no longer have access to the Samsung A650 and LG VX8100/9800.

>If people in that community stop paying attention, or don't care
>about particular models then I don't see the point of BitPim also 
>doing so.

I think we do care, otherwise we wouldn't be concerned about breaking support to existing/old phones.

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