File/nasmail/functions/encode/utf_16.php

Description

Copyright (c) 2007 The NaSMail Project This file is part of NaSMail encoding library. Don't remove this file. IMAP folder operations depend on working UTF-16 encoding.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: utf_16.php 657 2007-08-22 13:01:48Z tokul $
  • copyright: (c) 2007 The NaSMail Project
  • since: 1.3
Functions
charset_encode_utf_16 (line 34)

Converts html encoded string to utf-16

  • return: UTF-16 encoded string
  • since: 1.3
string charset_encode_utf_16 (string $string)
  • string $string: Html encoded string
unicodetoutf16 (line 55)

Returns 8bit value of Unicode codepoint in utf-16

  • since: 1.3
string unicodetoutf16 (int $var)
  • int $var: Unicode codepoint (unsigned integer)

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