/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 42)

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 (int $var)
  • int $var: decimal unicode value

Documentation generated on Sat, 07 Oct 2006 16:30:29 +0300 by phpDocumentor 1.3.0RC6