develooper Front page | perl.perl5.porters | Postings from December 2010

Re: [perl #80030] Matching upper ASCII characters from file in RE patterns

Thread Previous | Thread Next
From:
SADAHIRO Tomoyuki
Date:
December 9, 2010 05:23
Subject:
Re: [perl #80030] Matching upper ASCII characters from file in RE patterns
Message ID:
20101209222236.1781.CB027F2D@nifty.com

On Wed, 08 Dec 2010 22:58:20 -0700
karl williamson <public@khwilliamson.com> wrote:

> SADAHIRO Tomoyuki wrote:
> > This seems be able to be explained and perhaps not a bug.
> > 
> > According to POD of encoding.pm, 
> > (see http://search.cpan.org/~dankogai/Encode-2.40/encoding.pm )
> > "\xDF" under use encoding "iso 8859-7" is \x{3af} in Unicode
> > "\xA4\xA1" under use encoding "euc-jp" is  \x{3041} in Unicode
> 
> I understand the rest of this post, but I don't understande the 
> relevance of 8859-7 and euc-jp to the discussion.  Please enlighten me.

Just only 8859-7 and euc-jp are mentioned in the doc.

We wish the POD would include not only concrete examples
but also descriptive explanations how the pragma works.
However perl core has too many PL_encoding macros
to make the document precise.
The number of PL_encoding means how many different behaviors
between perl codes with encoding.pm and those without it. 

Regards,
SADAHIRO Tomoyuki



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About