Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Re: Read UTF-8 ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 1536 of 1643
Post > Topic >>

Re: Read UTF-8 file

by Sander Tekelenburg <user@[EMAIL PROTECTED] > Nov 22, 2007 at 06:25 PM

In article <towb-BA06E6.02430822112007@[EMAIL PROTECTED]
>,
 Tobias Weber <towb@[EMAIL PROTECTED]
> wrote:

> Hi,
> even before Leopard StandardAdditions could read UTF-8 files by 
> specifying "as «class utf8»". How do I combine this with the following?
> 
> set nameList to read listFile using delimiter return as list

We don't know what data types your variables nameList and listFile 
contain, so this has the potential to be the correct answer to the wrong 
question ;) Still:

set nameList to (read listFile as «class utf8» using delimiter return) 
as list


HTH

-- 
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>

Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers sup****t Macs!"
 




 4 Posts in Topic:
Read UTF-8 file
Tobias Weber <towb@[EM  2007-11-22 02:43:09 
Re: Read UTF-8 file
Sander Tekelenburg <us  2007-11-22 18:25:48 
Re: Read UTF-8 file
Tobias Weber <towb@[EM  2007-11-22 19:29:25 
Re: Read UTF-8 file
Sander Tekelenburg <us  2007-11-23 04:23:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 13:43:25 CDT 2008.