Unicode for cross-platform use (Dean Snyder)

Frank Leahy frank at backtalk.com
Fri Nov 19 02:14:13 EST 2004


Tuviah,

On Nov 19, 2004, at 2:27 AM, use-revolution-request at lists.runrev.com 
wrote:

> Subject: Re: Unicode for cross-platform use (Dean Snyder)
> To: use-revolution at lists.runrev.com
> Cc: use-revolution at lists.runrev.com
> Message-ID: <20041118.123717.21169.62304 at webmail02.lax.untd.com>
> Content-Type: text/plain
>
>
>> Hints and suggestions are very, very welcome. I am using Rev 2.1.
> Anyone using Unicode should switch to 2.5 where all reported Unicode 
> problems were resolved. If you store the text in fields, they are 
> byteswapped automatically. You will have to write your own script to 
> do the byteswapping when reading from files.

In 2.2 I'm using

   set the unicodetext of field "Unicode Text" of card "iPhoto" of stack 
"Preferences" to uniencode(URL unicodeFile, "UTF8")

to read a UTF8 file into RunRev.  Is RunRev not doing byte swapping 
automatically in this case?  (It's reading an iPhoto xml file that's 
UTF-8 encoded, so I've never actually tested whether it reads a Windows 
byte-swapped file).

Also, is there really no read/write of UTF-8 files in RunRev?  That 
would seem to be an oversight, no?

-- Frank

Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/




More information about the use-livecode mailing list