projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding myself.
[squirrelmail.git]
/
functions
/
i18n.php
diff --git
a/functions/i18n.php
b/functions/i18n.php
index 4b75de8b61fc31fef5548d28b0eb37e690dee1fd..de0115f91ec4265b6a56c44e07a4aecf29895194 100644
(file)
--- a/
functions/i18n.php
+++ b/
functions/i18n.php
@@
-9,7
+9,7
@@
* Internally the output character set is used. Other characters are
* encoded using Unicode entities according to HTML 4.0.
*
* Internally the output character set is used. Other characters are
* encoded using Unicode entities according to HTML 4.0.
*
- * @copyright © 1999-200
5
The SquirrelMail Project Team
+ * @copyright © 1999-200
6
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
@@
-261,6
+261,13
@@
function fixcharset($charset) {
*/
$charset=preg_replace("/[-:.\/\\\]/",'_',$charset);
*/
$charset=preg_replace("/[-:.\/\\\]/",'_',$charset);
+ // OE ks_c_5601_1987 > cp949
+ $charset=str_replace('ks_c_5601_1987','cp949',$charset);
+ // Moz x-euc-tw > euc-tw
+ $charset=str_replace('x_euc','euc',$charset);
+ // Moz x-windows-949 > cp949
+ $charset=str_replace('x_windows_','cp',$charset);
+
// windows-125x and cp125x charsets
$charset=str_replace('windows_','cp',$charset);
// windows-125x and cp125x charsets
$charset=str_replace('windows_','cp',$charset);