Revolution and Unicode

Devin Asay devin_asay at byu.edu
Mon Mar 19 11:19:08 EDT 2007


On Mar 17, 2007, at 10:19 PM, kee nethery wrote:

> My primary problem is that I need to access a web page that is  
> UTF8, and convert it to unicode so that I can edit it and save it  
> out as a file of unicode. There are a few good examples of how to  
> deal with unicode in revolution but so far no examples of using get  
> URL "http:// ..." to obtain the UTF8 web page and convert it to  
> unicode.
>
>
> Here are things I have learned about revolution and unicode after  
> many hours of searching:
>
> The DVD from Revcon 2006 has the talk by Devin Asay on unicode and  
> it covers lots of the gotchas on using Unicode.
> <http://www.runrev.com/offers/conference_dvd.php>
>
> Devin has a web page with some similar content
> <http://revolution.byu.edu/unicode/unicodeInRev.html>
>
> His stack from the Revcon 2006 presentation has the example scripts  
> that he referred to and although I have a copy from the conference,  
> I cannot find any references to it online to provide a url.

Kee,

Try: go stack URL "http://revolution.byu.edu/unicodeInRev.rev"
and: go stack URL "http://revolution.byu.edu/unicodeExamples.rev"

> If this is hopeless using
> get URL "http:// ..."
> to grab utf8 and convert it to unicode it would be great to know  
> that now.

Both of these stack show examples of how to read and write utf-8 files.

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list