thomascube
2006-01-13 be2380fb47b05a222ec5b22deff36d5156a8c943
program/lib/utf8.inc
@@ -88,7 +88,9 @@
         $thisPos++;
      }
      if ($thisLen == 1)
      if ($decimalCode<128)
         $encodedLetter = chr($decimalCode);
      else if ($thisLen == 1)
         $encodedLetter = "&#". str_pad($decimalCode, 3, "0", STR_PAD_LEFT) . ';';
      else
         $encodedLetter = "&#". str_pad($decimalCode, 5, "0", STR_PAD_LEFT) . ';';