Changeset 2941


Ignore:
Timestamp:
Sep 4, 2012, 10:57:07 PM (8 years ago)
Author:
nosdeputes
Message:

fix encoding for goya2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/batch/amendements/cut_amdmt.pl

    r2875 r2941  
    3636@string = <FILE>;
    3737$string = "@string";
    38 utf8::decode($string) if ($string =~ /charset=UTF-?8/i);
     38#utf8::decode($string) if ($string =~ /charset=UTF-?8/i);
    3939$string =~ s/(\<p class="presente".*)\s*\<br[\/]?\>\s*[\n]?\s*(.*)/\1, \2/g;
    4040$string =~ s/\<br\>.*\n//g;
Note: See TracChangeset for help on using the changeset viewer.