Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    
    # Byte strings:
    print ucfirst $str; # prints 'úlcera', ucfirst didn't have any effect.
    
  2. or download this
    use utf8;
    use strict;
    ...
    use open qw(:std :utf8);
    
    print ucfirst("úlcera\n");
    
  3. or download this
    $ perl ultstertest
    Úlcera
    ...
    
    $ perl ulstertest | uniquote -b
    \xC3\x9Alcera