Re: Rép: Unicode versus Utf8
Re: Rép: Unicode versus Utf8
- Subject: Re: Rép: Unicode versus Utf8
- From: Philip Aker <email@hidden>
- Date: Mon, 6 Jul 2009 03:07:50 -0700
On 2009-07-06, at 01:23:05, Yvan KOENIG wrote:
In fact I was hoping tfor a shell code like that:
set sourceStr to "Pages ’06" set mystr to (do shell script "some incantations" & sourceStr
set str to "Pages ’06" set unichar to (do shell script "tclsh <<< 'scan {" & str & "} {%s &#x%d;%d} prefix esc num;puts $esc'") do shell script "perl -MURI::Escape=uri_escape_utf8 -le 'print uri_escape_utf8(chr(0x" & unichar & "))'"
Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@ Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden