Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by Tux (Abbot)
on Aug 15, 2019 at 07:53 UTC ( #11104509=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl        -MData::Peek -wE'my $data = "Euro symbol:  | I \N{U+276
    +4}\N{U+FE0F} \N{U+1F42A}"; DPeek $data'
    PV("Euro symbol: \303\242\302\202\302\254 | I \342\235\244\357\270\217
    + \360\237\220\252"\0) [UTF8 "Euro symbol: \x{e2}\x{82}\x{ac} | I \x{2
    +764}\x{fe0f} \x{1f42a}"]
    ...
    
    $ perl -Mutf8 -MData::Peek -wE'my $data = "Euro symbol: \xe2\x82\xac |
    + I \xe2\x9d\xa4\xef\xb8\x8f \xf0\x9f\x90\xaa"; DPeek $data'
    PV("Euro symbol: \342\202\254 | I \342\235\244\357\270\217 \360\237\22
    +0\252"\0)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2020-10-22 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (227 votes). Check out past polls.

    Notices?