Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Matching/replacing a unicode character only works after decode()

by ikegami (Pope)
on Jul 27, 2014 at 04:03 UTC ( #1095196=note: print w/ replies, xml ) Need Help??


in reply to Re: Matching/replacing a unicode character only works after decode()
in thread Matching/replacing a unicode character only works after decode()

No, it's because the regex engine expects Unicode code points (the result of decode), not UTF-8 (what MySQL returned).

It has nothing to do with backwards compatibility, or with being an old language. e.g. Java's regex library similarly expects chars, not bytes.


Comment on Re^2: Matching/replacing a unicode character only works after decode()
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1095196]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2014-09-20 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls