thomascube
2005-11-18 fbf77b4493f1b77c99751d8a86365c712ae3fb1b
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) . ';';