File/nasmail/functions/encode/cp1256.php

Description

cp1256 encoding functions

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

  • version: $Id: cp1256.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_cp1256 (line 22)

Converts string to cp1256

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

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

Documentation generated on Sun, 22 Nov 2009 17:36:24 +0200 by phpDocumentor 1.4.3