Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: DWIM with non ASCII characters

by almut (Canon)
on May 07, 2010 at 15:10 UTC ( [id://838923]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -l
    use strict;
    ...
    
    print '$bytes (STDOUT is UTF-8): ', $bytes;
    print '$chars (STDOUT is UTF-8): ', $chars;
    
  2. or download this
    $bytes eq \x{f1} ? no match
    $chars eq \x{f1} ? match
    
  3. or download this
    $bytes: ñ
    $chars: 
    $bytes (STDOUT is UTF-8): ñ
    $chars (STDOUT is UTF-8): ñ
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found