On Apr 23, 2007, at 4:22 PM, [EMAIL PROTECTED] wrote:

> norman said:
>>    UTF-8 has a variable sized encoding and
>>    uses 1, 2, 3 or 4 bytes depending on the code point.
>
> does this have an effect on realbasic commands
> which deal with strings, such as len() or instr()?
> or are those adjustments made automatically?


Len, InStr, and other methods without a B suffix are character-based,  
and so use the encoding information.  Methods like LenB, InStrB, etc.  
do not use the encoding information.

>
> what about if i stuff a string into a memoryblock?

The encoding is gone.  Text = string + encoding.

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to