• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unicode versus Utf8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode versus Utf8


  • Subject: Re: Unicode versus Utf8
  • From: Philip Aker <email@hidden>
  • Date: Sun, 5 Jul 2009 10:46:08 -0700

On 2009-07-05, at 06:32:35, Mark J. Reed wrote:

And Philip: the win here is not so much Perl but the large set of useful modules that come preinstalled with it.

perl -= 1;
tclsh -= 1/2;

Ok, I'm retracting the extra point for Perl, and instead, shaving off 1/2 a point for the built-in Tcl extension package ::uri::urn not advertising it's similar capability. Not to mention that the proc is misnamed "quote" (rather than "escape").

set urichars to "dörk"
do shell script "tclsh <<< 'package require uri::urn;puts [uri::urn::quote {" & urichars & "}]'"

Which of course leads me to prompt for the similar capability in Perl. That is, encode a whole string, not just a unicode character id.


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

References: 
 >Re: Unicode versus Utf8 (From: Matt Neuburg <email@hidden>)
 >Re: Unicode versus Utf8 (From: "Mark J. Reed" <email@hidden>)
 >Re: Unicode versus Utf8 (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Unicode versus Utf8
  • Next by Date: Fwd: Unicode versus Utf8
  • Previous by thread: Re: Unicode versus Utf8
  • Next by thread: Fwd: Unicode versus Utf8
  • Index(es):
    • Date
    • Thread