Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: utf8 bloody chars

by Tux (Canon)
on Oct 18, 2015 at 13:51 UTC ( #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? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2023-03-21 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?