CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [JonathanPool] hex metacharacters for characters below x100: Edit Log



7stud
Enthusiast

Mar 28, 2010, 4:29 PM


Views: 5326
Re: [JonathanPool] hex metacharacters for characters below x100

I can assure you it's not. I copy and pasted the UTF-8 character C3 84 into my string. That character's Unicode code point is U+00C4, and it's official name is "LATIN CAPITAL LETTER A WITH DIAERESIS". So, I'm not sure what you are talking about.


Quote
If on your system Perl converts characters into UTF-8, then I understand it finds no match. But what makes Perl do that? I believe I haven't seen that behavior.


perlunicode:

Quote
Regular Expressions

The regular expression compiler produces polymorphic opcodes. That
is, the pattern adapts to the data and automatically switches to
the Unicode character scheme when presented with data that is
internally encoded in UTF-8 -- or instead uses a traditional byte
scheme when presented with byte data.



(This post was edited by 7stud on Mar 28, 2010, 4:35 PM)


Edit Log:
Post edited by 7stud (Enthusiast) on Mar 28, 2010, 4:30 PM
Post edited by 7stud (Enthusiast) on Mar 28, 2010, 4:35 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives