/functions/encode/cp1251.php

Description

cp1251 encoding functions

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

Functions
charset_encode_cp1251 (line 21)

Converts string to cp1251

  • return: cp1251 encoded text
string charset_encode_cp1251 (string $string)
  • string $string: text with numeric unicode entities
unicodetocp1251 (line 41)

Return cp1251 symbol when unicode character number is provided

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

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

Documentation generated on Mon, 13 Jan 2020 04:24:24 +0100 by phpDocumentor 1.4.3