4 * functions/decode/ns_4551_1.php
6 * Copyright (c) 2004-2005 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 * This file contains ns_4551-1 decoding function that is needed to read
10 * ns_4551-1 encoded mails in non-ns_4551-1 locale.
12 * This is the same as ISO-646-NO and is used by some
13 * Microsoft programs when sending Norwegian characters
16 * @package squirrelmail
21 * ns_4551_1 decoding function
23 * @param string $string
26 function charset_decode_ns_4551_1 ($string) {
28 * These characters are:
29 * Latin capital letter AE
30 * Latin capital letter O with stroke
31 * Latin capital letter A with ring above
32 * and the same as small letters
34 return strtr ($string, "[\\]{|}", "ÆØÅæøå");