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, 2:27 AM


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


Quote
Your script contained "umlaut" hard-coded into it, but the character in your string was A with a macron.

I don't understand what you are saying. My string has 'A with daeiresis' in it, and the regex looks for an 'A with macron'. There shouldn't be a match. On my system, perl does an automatic conversion in the regex: it converts the Unicode code point \x{0100} to UTF-8 because perl sees that the string I am searching has UTF-8 characters in it.


(This post was edited by 7stud on Mar 28, 2010, 2:31 AM)


Edit Log:
Post edited by 7stud (Enthusiast) on Mar 28, 2010, 2:30 AM
Post edited by 7stud (Enthusiast) on Mar 28, 2010, 2:31 AM


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

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