Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: utf8 bloody chars

by Tux (Canon)
on Oct 18, 2015 at 13:51 UTC ( [id://1145256]=note: print w/replies, xml ) Need Help??


in reply to utf8 bloody chars

Another remark: the use utf8; is only required if the source code contains literal utf-8:

$ perl -CO -wE'say "\x{03c9}"'
ω
$ perl -CO -wE'say "ω"'
Ï
$ perl -CO -Mutf8 -wE'say "ω"'
ω

Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found