• 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: Bad Characters from Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad Characters from Unicode


  • Subject: Re: Bad Characters from Unicode
  • From: "Mark J. Reed" <email@hidden>
  • Date: Tue, 2 Oct 2007 14:01:44 -0400

On 10/2/07, has <email@hidden> wrote:
> even Perl or Ruby, while a bit rough on the Unicode side,

These days, Perl is not at all rough on the Unicode side.  It has
built-in support for accessing characters by name, using Unicode
character properties in regular expressions, converting among
encodings, etc:

#!/usr/bin/perl
use encoding qw(utf8);
use charnames qw(:full);

my $sum = "\N{GREEK CAPITAL LETTER SIGMA}";
if ($sum =~ /\p{Uppercase_Letter}/)
{
    print "The lowercase version of $sum is \L$sum\n";
}

#---

Core Ruby remains somewhat reluctant to embrace Unicode, though there
is pretty good support in some add-on modules, used all over the place
in Rails.

And then there's PHP.    Ack ptooie.  Don't get me started!

--
Mark J. Reed <email@hidden>
 _______________________________________________
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: Bad Characters from Unicode (From: has <email@hidden>)

  • Prev by Date: Re: Bad Characters from UnicodeŠ
  • Next by Date: Re: Bad Characters from Unicode
  • Previous by thread: Re: Bad Characters from Unicode
  • Next by thread: Re: Bad Characters from Unicode
  • Index(es):
    • Date
    • Thread