On 23-Apr-07, at 2: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?
No. Those commands deal with whole CHARACTERS and are encoding savvy. Their counterparts (lenB, instrB) are BYTE oriented and can cause problems if you are not careful. > what about if i stuff a string into a memoryblock? Should be OK to do so _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
