File/nasmail/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 ?.

  • version: $Id: cp1251.php 427 2007-06-21 18:48:48Z tokul $
  • copyright: (c) 2004-2006 The SquirrelMail Project Team
  • copyright: (c) 2006-2007 The NaSMail Project
  • license: GNU Public License
Functions
charset_encode_cp1251 (line 22)

Converts string to cp1251

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

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 Sun, 22 Nov 2009 17:36:24 +0200 by phpDocumentor 1.4.3