Re: More fun with Unicode
Re: More fun with Unicode
- Subject: Re: More fun with Unicode
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 05 May 2003 10:47:49 -0700
On 5/5/03 10:08 AM, "John Delacour" <email@hidden> wrote:
>
On a hint from Chris N. I have made this great discovery.
>
>
Run this and see what you get:
>
>
set somecocoaapp to "TextEdit"
>
set _hex to "FEFF
>
2029 2029
>
975C 591C 601D
>
2029 2029
>
674E 767D
>
2029 2029
>
5E8A 524D 660E 6708 5149 FF0C F87D 2029
>
7591 662F 5730 4E0A 971C 3002 2029
>
8209 982D 671B 660E 6708 FF0C F87D 2029
>
4F4E 982D 601D 6545 9109 3002 2029"
>
set f to "/tmp/temp" as POSIX file as file specification
>
set _data to convertToData(_hex)
>
open for access f with write permission
>
write _data to f
>
close access f
>
tell app somecocoaapp to open {f}
>
on convertToData(s)
>
set my text item delimiters to ""
>
run script "Gdata ****" & words of s & "H"
>
end
I get "Script error" on the line
run script "Gdata ****" & words of s & "H"
--
Paul Berkowitz
_______________________________________________
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.