Re: Unicode characters
Re: Unicode characters
- Subject: Re: Unicode characters
- From: John Delacour <email@hidden>
- Date: Tue, 8 Apr 2003 16:52:26 +0100
- Mac-eudora-version: 6.0a14
At 9:44 am +0200 8/4/03, Jonas Salling wrote:
I'd like to build a string with a Unicode paragraph end character in
it. I was hoping there'd be something like this available:
"a" & (unicode character 2029) & "b"
This, however, doesn't seem to be the case. Am I missing something?
"a" is not a unicode character and nor is "b"
Try this:
set fU to "/tmp/ab.txt"
set f to POSIX file fU
set a to (ASCII character 0) & "a"
set parasep to " )"
set b to (ASCII character 0) & "b"
open for access f with write permission
set eof f to 0
write (ASCII character 254) & (ASCII character 255) to f
write a & parasep & b to f
close access f
do shell script "open -e " & fU
-- JD
_______________________________________________
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.