Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Intra-Unicode Conversions (naive)

by tye (Sage)
on Nov 15, 2006 at 16:37 UTC ( [id://584201]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    print '$s contains ', length($s), " bytes.\n";
    print '$i contains ', length($i), " characters.\n";
    print '$r contains ', length($r), " bytes.\n";
    
  2. or download this
    The regex and utf8::encode() match.
    The 3 Unicode strings match.
    ...
    $s contains 255 bytes.
    $i contains 255 characters.
    $r contains 383 bytes.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-24 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found