cp1256 encoding functions

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

charset_encode_cp1256 (line 21)

Converts string to cp1256

  • return: cp1256 encoded text
string charset_encode_cp1256 (string $string)
  • string $string: text with numeric unicode entities
unicodetocp1256 (line 41)

Return cp1256 symbol when unicode character number is provided

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

  • return: cp1256 character
string unicodetocp1256 (array $matches)
  • array $matches: array with first element a decimal unicode value

Documentation generated on Thu, 22 Feb 2018 04:25:48 +0100 by phpDocumentor 1.4.3