* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This file contains cp1256 decoding function that is needed to read
* cp1256 encoded mails in non-cp1256 locale.
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This file contains cp1256 decoding function that is needed to read
* cp1256 encoded mails in non-cp1256 locale.
* Original data taken from:
* ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1256.TXT
*
* Original data taken from:
* ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1256.TXT
*
// don't do decoding when there are no 8bit symbols
if (! sq_is8bit($string,'windows-1256'))
return $string;
$cp1256 = array(
// don't do decoding when there are no 8bit symbols
if (! sq_is8bit($string,'windows-1256'))
return $string;
$cp1256 = array(