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

Re: Conversion between code page and unicode in Perl

by ikegami (Patriarch)
on Feb 10, 2012 at 09:26 UTC ( [id://952958]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $code_points = decode('cp1252', $cp1252_bytes);
    
  2. or download this
    my $utf16le_bytes = encode('UTF-16le', $code_points);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-23 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found