Re: Reading file containing UTF-8
Re: Reading file containing UTF-8
- Subject: Re: Reading file containing UTF-8
- From: julifos <email@hidden>
- Date: Wed, 05 Nov 2003 15:55:54 +0100
>
I think my two options are forcing the read command to produce a UTF-8 result,
>
or some code to convert UTF-8 characters hidden in a string into Unicode text.
I think these two will do the job:
do shell script "cat ~/whatever/file.txt"
read alias "path:to:file.txt" as <<class utf8>>
jj
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.