/functions/encode/us_ascii.php

Description

us_ascii encoding functions

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

Functions
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 Mon, 13 Jan 2020 04:25:24 +0100 by phpDocumentor 1.4.3