Read file with accented characters ?

Zax zax at tripoy.com
Fri May 19 05:48:53 EDT 2006


Hello,

I'm trying to read a text file created with BBEdit on Mac OS X. This file
contains french accented characters.
Now, in my revolution script (also running on OS X), whatever I use :

get URL ("binfile:" & bbeditFileName)
 or
get URL ("file:" & bbeditFileName)
 or
open file bbeditFileName for read
 or
open file bbeditFileName for binary read

the result is the same : all accented characters are converted like a
windows text file and the "it" variable contains weird text :(

So, what I'm doing wrong ?
Thanks in advance for your help.
----------------------
Zax 





More information about the use-livecode mailing list