Help for this page

Select Code to Download


  1. or download this
        my $unicode_character_hexadecimal_string = '0x20ac';
    
  2. or download this
        my $unicode_hex_codepoint = 0x20ac;
    
  3. or download this
        '0xE2 0x82 0xAC'
    
  4. or download this
        my $unicode_char = chr( $unicode_hex_codepoint );
    
  5. or download this
        '0x62 0x02 0x2C'
    
  6. or download this
    use strict;
    
    ...
    
    printf( "%s == %04x == %s == %s ^^ %s == %s\n",
            $uni_chr, $uni_hex, $u8_byts, $u8_bits, $strpd_byts, $strpd_bi
    +ts );