Help for this page

Select Code to Download


  1. or download this
     perl -e 'print ord(shift) . "\n"' "’"
    
  2. or download this
    $in{'content'} =~ s/\x92/’/g;
    
  3. or download this
    # Somewhere in an init function I define the hex value => string mappi
    +ng
    # I find it easier to edit this way
    ...
        # And then later when I need to do the replacing:
        $data =~ s/$msword_re/$msword_replace{$1}/g;