Source for file ns_4551_1.php

Documentation is available at ns_4551_1.php

  1. <?php
  2.  
  3. /**
  4.  * functions/decode/ns_4551_1.php
  5.  *
  6.  * This file contains ns_4551-1 decoding function that is needed to read
  7.  * ns_4551-1 encoded mails in non-ns_4551-1 locale.
  8.  *
  9.  * This is the same as ISO-646-NO and is used by some
  10.  * Microsoft programs when sending Norwegian characters
  11.  *
  12.  * @copyright 2004-2020 The SquirrelMail Project Team
  13.  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  14.  * @version $Id: ns_4551_1.php 14840 2020-01-07 07:42:38Z pdontthink $
  15.  * @package squirrelmail
  16.  * @subpackage decode
  17.  */
  18.  
  19. /**
  20.  * ns_4551_1 decoding function
  21.  *
  22.  * @param string $string 
  23.  * @return string 
  24.  */
  25. function charset_decode_ns_4551_1 ($string{
  26.     /*
  27.      * These characters are:
  28.      * Latin capital letter AE
  29.      * Latin capital letter O with stroke
  30.      * Latin capital letter A with ring above
  31.      * and the same as small letters
  32.      */
  33.     return strtr ($string"[\\]{|}");
  34. }

Documentation generated on Mon, 13 Jan 2020 04:25:02 +0100 by phpDocumentor 1.4.3