summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-18 20:29:50 +0000
committerthomascube <thomas@roundcube.net>2008-09-18 20:29:50 +0000
commitb6a27ff85bd47eef4f359688600566a27f3cf70e (patch)
tree2bdf737b74ff11be3e962bbeb9ef4f775df98e39 /program/include/main.inc
parentfdebae88c2c61915566d2eef910f7913c47930c8 (diff)
Treat US-ASCII as Latin-1 to give messages with wrong charset definition a chance
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 908ca3adc..0eb8dc757 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -212,6 +212,7 @@ function rcube_charset_convert($str, $from, $to=NULL)
return $str;
$aliases = array(
+ 'US-ASCII' => 'ISO-8859-1',
'UNKNOWN-8BIT' => 'ISO-8859-15',
'X-UNKNOWN' => 'ISO-8859-15',
'X-USER-DEFINED' => 'ISO-8859-15',