X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=po%2Fcharsetconvert.pl;h=7c3a52dd28a499c0c4e0003f3a94ef00d17814a2;hp=7443b6dd9099e026e740758cfd0a4700ea35d66f;hb=ecc0f421a193bca30e64ca1c14e8b504d4400531;hpb=e3c6f613b0f050af69403c6c2ac78fe50e59801f diff --git a/po/charsetconvert.pl b/po/charsetconvert.pl index 7443b6dd..7c3a52dd 100755 --- a/po/charsetconvert.pl +++ b/po/charsetconvert.pl @@ -14,16 +14,16 @@ while (<>) { unless (/^\#/) { ($orig_text, $unicode_text, $dummy, $name) = split /\t/; - - # oct does not only do what it's name suggest. If a string starts + + # oct does not only do what it's name suggest. If a string starts # with 0x it is interpreted as a hexadecimal value. $orig = oct $orig_text; $unicode = oct $unicode_text; - + if ($orig >= $min) { - print " # $name\n"; - printf (' $string = str_replace("\%o", "&#%d"), $string);'."\n", - $orig, $unicode); + print " // $name\n"; + printf (' $string = str_replace("\%o", "&#%d", $string);'."\n", + $orig, $unicode); } - } + } }