X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fencode%2Fus_ascii.php;h=a54946ec9f072b79206c025aae9a74816d756b0e;hp=f424e42ff046dbb39a1a80489d0b250f23968667;hb=91e0dccca7b2452d8b450791cae3aa4125e8889e;hpb=0f610dca6fd52a148e290f79cdfcfc572998b475 diff --git a/functions/encode/us_ascii.php b/functions/encode/us_ascii.php index f424e42f..a54946ec 100644 --- a/functions/encode/us_ascii.php +++ b/functions/encode/us_ascii.php @@ -22,17 +22,17 @@ function charset_encode_us_ascii ($string) { $string=preg_replace("/&#([0-9]+);/e","unicodetousascii('\\1')",$string); // $string=preg_replace("/&#[xX]([0-9A-F]+);/e","unicodetousascii(hexdec('\\1'))",$string); - + return $string; } /** * Return us-ascii symbol when unicode character number is provided - * + * * This function is used internally by charset_encode_us_ascii * function. It might be unavailable to other squirrelmail functions. - * Don't use it or make sure, that functions/encode/us_ascii.php is - * included. + * Don't use it or make sure, that functions/encode/us_ascii.php is + * included. * * @param int $var decimal unicode value * @return string us-ascii character