koi8-u encoding functions

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

charset_encode_koi8_u (line 21)

Converts string to koi8-u

  • return: koi8-u encoded text
string charset_encode_koi8_u (string $string)
  • string $string: text with numeric unicode entities
unicodetokoi8u (line 41)

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.

  • return: koi8-u character
string unicodetokoi8u (array $matches)
  • array $matches: array with first element a decimal unicode value

Documentation generated on Tue, 17 Apr 2018 04:26:15 +0200 by phpDocumentor 1.4.3