wellll where is the string comming from ?

----- Original Message ----- From: "Maarten de Vries" <[EMAIL PROTECTED]>
To: "REALbasic NUG" <[email protected]>
Sent: Tuesday, May 16, 2006 3:24 PM
Subject: Re: Compare 2 strings of differant encodings


hmm.... ok, but how do i know what encoding it is? Maybe if I create a new
empty string and copy that encoding.... I know it can't be UTF-8, cause the
to strings (witch where the same) had a different LenB, and one of them was
UTF-8.

Thanks,
Maarten



On 16/05/06, Björn Eiríksson <[EMAIL PROTECTED]> wrote:

Well if the String has Encoding NIL then it is invalid for such
comparision
until you
Define its encoding with DefineEncoding. (And remember you have to define
it
what it actually is, since DefineEncoding is a promise of what it is,
false
promise is no good). So if you for example know its UTF-8 data then you
define it as UTF-8.

Björn

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


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

Reply via email to