Help for this page

Select Code to Download


  1. or download this
    use constant FB_SPACE => sub { ' ' };
    
    $bytes = encode($charset, $chars, FB_SPACE);
    
  2. or download this
    use Encode         qw( encode FB_DEFAULT );
    use HTML::Entities qw( decode_entities );
    ...
    for my $check (FB_DEFAULT, FB_SPACE) {
       print encode($charset, $chars, $check), "\n";
    }
    
  3. or download this
    abc?def
    abc def