File/nasmail/functions/decode/utf_16.php

Description

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

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 656 2007-08-21 19:46:09Z tokul $
  • copyright: (c) 2007 The NaSMail Project
  • since: 1.3
Functions
charset_decode_utf_16 (line 35)

Converts utf-16 and ucs-2 to html entities

  • return: html encoded text
  • since: 1.3
string charset_decode_utf_16 (string $string, [boolean $save_html = false])
  • string $string: UTF-16 encoded text
  • boolean $save_html: don't html encode special characters if true

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