Unicode and Chunks

Trevor DeVore lists at mangomultimedia.com
Mon Sep 29 09:24:01 EDT 2003


On Monday, September 29, 2003, at 06:59  AM, Dean Snyder wrote:

> I've been enjoying using Unicode in Revolution 2.1 for the most part. 
> The
> only problem I've encountered so far is that chunk evaluation doesn't
> seem to work correctly with Unicode characters. For example, if any 
> byte
> of a double byte Unicode character is "09" that will increment the item
> count in chunk evaluation if you have set the itemDelimiter to "tab",
> ASCII 09; but, of course, the character is not a tab.
>
> [I've just subscribed to this list and this is my first post, so, sorry
> if this bug has been addressed previously.]

Chunk expressions don't work correctly with unicode text right now 
though I believe it is being worked on.  You have to write your own 
chunk handlers for use with  unicode text.  Take a look at the sample 
stack "Unicode text manipulation examples" at 
<http://runrev.com/Revolution1/developercentral/usercontributions.html> 
which shows some examples of getting lines in a field, etc.

-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com




More information about the use-livecode mailing list