Re: Unicode, AppleScript, and the shell
Re: Unicode, AppleScript, and the shell
- Subject: Re: Unicode, AppleScript, and the shell
- From: John Delacour <email@hidden>
- Date: Fri, 25 Jul 2003 00:31:13 +0100
- Mac-eudora-version: 6.0a28
At 3:26 pm -0400 24/7/03, Sean McBride wrote:
Does anyone know of a utility that will let me type unicode strings and
spit out this hex notation? Example I type:
/Users/smcbride/Desktop/c$c3c9cc<c)
And I get:
00550073.....
You can do practically anything, including this, with a one line
pack/unpack (see perlfunc) statement in perl, or you can build a
string like this:
set s to "qq~\\x{65e5}\\x{672c}\\x{8bed}~"
do shell script "perl -e 'print hello . " & s & "'"
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.