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: Sun, 5 Jul 2009 12:30:55 -0700
On 2009-07-05, at 12:04:32, Yvan KOENIG wrote: I assumes that there is no way to convert directly "Pages ’06" into "Pages ₩06"
I'm getting slightly different results for Perl and Tcl.
set urichars to "Pages ’06" do shell script "perl -MURI::Escape=uri_escape_utf8 -le 'print uri_escape_utf8(\"" & urichars & "\")'" do shell script "tclsh <<< 'package require uri::urn;puts [uri:: urn::quote { " & urichars & "}]' "
Look like the (new) Perl one is your best choice.
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