us_ascii encoding functions

takes a string of unicode entities and converts it to a us-ascii encoded string Unsupported characters are replaced with ?.

charset_encode_us_ascii (line 21)

Converts string to us-ascii

  • return: us-ascii encoded text
string charset_encode_us_ascii (string $string)
  • string $string: text with numeric unicode entities
unicodetousascii (line 41)

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.

  • return: us-ascii character
string unicodetousascii (array $matches)
  • array $matches: array with first element a decimal unicode value

Documentation generated on Wed, 26 Apr 2017 04:16:39 +0200 by phpDocumentor 1.4.3