summaryrefslogtreecommitdiff
path: root/program/include/rcube_charset.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-14 11:15:28 +0000
committeralecpl <alec@alec.pl>2012-04-14 11:15:28 +0000
commit1495ac7913095ae8284c3501b7d4e6dd31a484ec (patch)
treecaef2733925b023bad686c44dbdfe886090f2881 /program/include/rcube_charset.php
parent9870dac30de1b8d1bdeab57af3eeb7c89b21ef76 (diff)
- More public methods, code cleanup
Diffstat (limited to 'program/include/rcube_charset.php')
-rw-r--r--program/include/rcube_charset.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/program/include/rcube_charset.php b/program/include/rcube_charset.php
index 7e8fe4997..47d855d1a 100644
--- a/program/include/rcube_charset.php
+++ b/program/include/rcube_charset.php
@@ -44,14 +44,14 @@ class rcube_charset
'UNKNOWN' => 'ISO-8859-15',
'USERDEFINED' => 'ISO-8859-15',
'KSC56011987' => 'EUC-KR',
- 'GB2312' => 'GBK',
- 'GB231280' => 'GBK',
- 'UNICODE' => 'UTF-8',
- 'UTF7IMAP' => 'UTF7-IMAP',
- 'TIS620' => 'WINDOWS-874',
- 'ISO88599' => 'WINDOWS-1254',
- 'ISO885911' => 'WINDOWS-874',
- 'MACROMAN' => 'MACINTOSH',
+ 'GB2312' => 'GBK',
+ 'GB231280' => 'GBK',
+ 'UNICODE' => 'UTF-8',
+ 'UTF7IMAP' => 'UTF7-IMAP',
+ 'TIS620' => 'WINDOWS-874',
+ 'ISO88599' => 'WINDOWS-1254',
+ 'ISO885911' => 'WINDOWS-874',
+ 'MACROMAN' => 'MACINTOSH',
'77' => 'MAC',
'128' => 'SHIFT-JIS',
'129' => 'CP949',
@@ -336,7 +336,7 @@ class rcube_charset
break;
}
- $ch .= $u7;
+ $ch .= $u7;
}
if ($ch == '') {
@@ -724,7 +724,7 @@ class rcube_charset
}
else if ($ord >= 0xC0) {
if (strlen($seq) > 1) {
- $out .= preg_match($regexp, $seq) ? $seq : '';
+ $out .= preg_match($regexp, $seq) ? $seq : '';
$seq = '';
}
else if ($seq && ord($seq) < 0xC0) {