thomascube
2005-11-08 583f1c8d80c42195d0ee41f30a885e13d777b79f
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) . ';';