Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: Text::CSV encoding parse()

by choroba (Bishop)
on Aug 14, 2019 at 19:35 UTC ( #11104476=note: print w/replies, xml ) Need Help??


in reply to Re^4: Text::CSV encoding parse()
in thread Text::CSV encoding parse()

In what encoding have you saved the source code? The recommended practice is to use UTF-8 and tell Perl that your source code contains non-ascii UTF-8 characters (i.e. use utf8).

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^6: Text::CSV encoding parse()
by slugger415 (Monk) on Aug 14, 2019 at 20:50 UTC

    Hi Choroba, my editor Notepad++ is set to UTF-8.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2019-09-23 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (277 votes). Check out past polls.

    Notices?