Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: How to sanely handle unicode in perl?

by choroba (Archbishop)
on Mar 21, 2015 at 18:12 UTC ( #1120846=note: print w/replies, xml ) Need Help??


in reply to Re: How to sanely handle unicode in perl?
in thread How to sanely handle unicode in perl?

Line 11 makes no sense. When you add the failure handling, you'll know why:
open STDOUT, ":encoding(UTF-8)" or die $!;
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^3: How to sanely handle unicode in perl?
by Khen1950fx (Canon) on Mar 21, 2015 at 21:23 UTC
    Thanks for noticing. Of course, it makes no sense. My editor went a wee bit wonky on me. My bad---That's what I get for not looking at it again afterwards:).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2020-07-08 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?