Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1095196]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-10-22 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (272 votes). Check out past polls.

    Notices?