[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Languages that accept characters beyond ASCII (Was RE: Veering)

  • From: Joel Rees <rees@s...>
  • To: xml-dev@l...
  • Date: Mon, 16 Jul 2001 12:41:37 +0900

perl accept
Steve Rowe clarified:

> John Cowan wrote:
> > Perl 5.6 AFAIK is still ASCII-only.
>
> Perl understands UTF-8, though full Unicode support is not yet
> implemented.
>
> From the Perl 5.6.0 perlunicode manpage:
>
> - Identifiers within the Perl script may contain Unicode alphanumeric
> characters, including ideographs.
>
> - Character classes in regular expressions match characters instead of
> bytes, and match against the character properties specified in the
> Unicode properties database. So \w can be used to match an ideograph,
> for instance.
>
> Steve

Just a reminder, but the meaning for \w, \s, etc., (ergo, the concept of a
delimiter) for plain text is drastically different for human languages which
use ideographs.

When discussing the use of ideographs as tag names and other
programmatically parsed identifiers, we must be careful to make the
distinction between the human languages on the one hand, and the artificial
languages which are borrowing characters from the human languages on the
other.

(I understand that many early attempts to use Japanese in programming
languages tried to use natural Japanese parsing, and thus earned Japanese
characters a reputation for seriously slowing compilers down.)

Joel Rees
programmer -- rees@m...
----------------------------------------------------
To be a tree supporting all information,
  giving root to the chaos
    and branches to the trivia,
      information breathing anew --
        This is the aim of Yggdrasill.
============================XML as Best Solution===
Media Fusion Co. ,Ltd.  $B3t<02q




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.