Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1210718]
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: (3)
As of 2018-03-18 04:54 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (228 votes). Check out past polls.