Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Substring giving strange results on $1 with utf8

by choroba (Chancellor)
on Aug 06, 2012 at 22:01 UTC ( #985845=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    system "$^X utf2.pl < utf1";
    print "\n";
    system "$^X utf2.pl < utf2";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://985845]
Approved by BrowserUk
Front-paged by ww
help
Chatterbox?
[Corion]: Meh - the Rosetta code for copying a file with Perl will fail for binary files

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-08-24 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (365 votes). Check out past polls.

    Notices?