Help for this page

Select Code to Download


  1. or download this
    s/([^\0-\x7F])/'&#' . ord($1) . ';'/eg;
    
  2. or download this
    $proper_utf8 = pack 'U0a*', $raw_from_database;
    
  3. or download this
    s/([^\0-\xFF])/'&#' . ord($1) . ';'/eg;
    
  4. or download this
    use Interpolation;
    tie %HTML, "Interpolation", \&escape;  # works with global or with lex
    +ical: my %HTML
    ...
            return $s;
        }
    }
    
  5. or download this
    print qq(
    <span class='textTitles'>$HTML{$article->{'title'}}</span><br>
    ...
    Author: $HTML{$article->{'author'}}<br>
    Price: $HTML{PrintablePrice($format_list[0])}<br>
    );