* Unsupported characters are replaced with ?.
*
* @version $Id$
- * @copyright Copyright © SquirrelMail Development Team, 2004
+ * @copyright Copyright © 2004-2005 The SquirrelMail Project Team
* @package squirrelmail
* @subpackage encode
*/
$string=preg_replace("/&#([0-9]+);/e","unicodetokoi8u('\\1')",$string);
// $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetokoi8u(hexdec('\\1'))",$string);
-
+
return $string;
}
/**
* Return koi8-u symbol when unicode character number is provided
- *
- * This function is used internally by charset_encode_koi8_u
- * function. It might be unavailable to other squirrelmail functions.
- * Don't use it or make sure, that functions/encode/koi8_u.php is
- * included.
+ *
+ * This function is used internally by charset_encode_koi8_u
+ * function. It might be unavailable to other SquirrelMail functions.
+ * Don't use it or make sure, that functions/encode/koi8_u.php is
+ * included.
*
* @param int $var decimal unicode value
* @return string koi8-u character