koi8-r encoding functions

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

charset_encode_koi8_r (line 21)

Converts string to koi8-r

  • return: koi8-r encoded text
string charset_encode_koi8_r (string $string)
  • string $string: text with numeric unicode entities
unicodetokoi8r (line 41)

Return koi8-r symbol when unicode character number is provided

This function is used internally by charset_encode_koi8_r function. It might be unavailable to other SquirrelMail functions. Don't use it or make sure, that functions/encode/koi8_r.php is included.

  • return: koi8-r character
string unicodetokoi8r (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