Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: String match in Chinese character

by Anonymous Monk
on Mar 12, 2018 at 13:49 UTC ( #1210718=note: print w/replies, xml ) Need Help??


in reply to String match in Chinese character

Also, the OP contains a subtle error. As per utf8, the use utf8 pragma only instructs the Perl compiler to expect UTF8 in the source code. It does not affect the handling of input or output files.

Replies are listed 'Best First'.
Re^2: String match in Chinese character
by Your Mother (Bishop) on Mar 12, 2018 at 17:09 UTC

    The OP does not even contain the string "use utf8" so, no. If you meant choroba's and pryrt's and 1nickt's code you can 1) assume it's right if you don't know any better because it's them, 2) try the code without it to see what happens so you learn something. Option 2 is impossible though, so…

      Your Mother, I assume you replying to Anonymous Monk, right?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-06-18 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (111 votes). Check out past polls.

    Notices?