d5bb4a01 |
1 | <?php |
2 | |
3 | /** |
4 | * functions/decode/ns_4551_1.php |
5 | * |
d5bb4a01 |
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 |
91e0dccc |
10 | * Microsoft programs when sending Norwegian characters |
d5bb4a01 |
11 | * |
4b4abf93 |
12 | * @copyright © 2004-2005 The SquirrelMail Project Team |
13 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
31841a9e |
14 | * @version $Id$ |
d5bb4a01 |
15 | * @package squirrelmail |
16 | * @subpackage decode |
17 | */ |
18 | |
19 | /** |
20 | * ns_4551_1 decoding function |
21 | * |
22 | * @param string $string |
91e0dccc |
23 | * @return string |
d5bb4a01 |
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 |