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

Re^5: Yet another Encoding issue...

by Danny (Hermit)
on Jun 01, 2024 at 22:02 UTC ( [id://11159748]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/bin/bash
    
    ...
    echo ""
    
    perl -we 'use Encode; $c = encode("UTF-8", "é"); $dc = decode("UTF-8",
    + $c); print "\$c = $c \$dc = $dc\n"'
    
  2. or download this
    #!/bin/bash
    
    ...
    echo ""
    
    perl -we 'use Encode; $c = encode("UTF-8", "é"); $dc = decode("UTF-8",
    + $c); print "\$c = $c \$dc = $dc\n"'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-09-13 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (17 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.