iso-8859-1 encoding functions

takes a string of unicode entities and converts it to a iso-8859-1 encoded string Unsupported characters are replaced with ?.

charset_encode_iso_8859_1 (line 21)

Converts string to iso-8859-1

  • return: iso-8859-1 encoded text
string charset_encode_iso_8859_1 (string $string)
  • string $string: text with numeric unicode entities
unicodetoiso88591 (line 41)

Return iso-8859-1 symbol when unicode character number is provided

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

  • return: iso-8859-1 character
string unicodetoiso88591 (array $matches)
  • array $matches: array with first element a decimal unicode value

Documentation generated on Sat, 29 Apr 2017 04:16:22 +0200 by phpDocumentor 1.4.3