Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "That line is: ",$line,"\n";
    $line =~ s//o/;
    print "That line in ascii is: $line\n";
    
  2. or download this
    karoshi:~>LC_CTYPE=de_DE.UTF-8 ./u8demo.pl
    I read a line, that is 1 chars long.
    ...
    I read a line, that is 8 chars long.
    That line is: \xC3\xB6
    That line in ascii is: \xC3\xB6
    
  3. or download this
    karoshi:~>./u8demo.pl
    I read a line, that is 1 chars long.
    That line is: �
    That line in ascii is: o