作者 邓超

1

@@ -41,7 +41,7 @@ class DeCoding { @@ -41,7 +41,7 @@ class DeCoding {
41 // encode x09,x20 at lineends 41 // encode x09,x20 at lineends
42 { 42 {
43 $iLength = strlen($sLine); 43 $iLength = strlen($sLine);
44 - $iLastChar = ord($sLine{$iLength-1}); 44 + $iLastChar = ord($sLine[$iLength-1]);
45 45
46 // !!!!!!!! 46 // !!!!!!!!
47 // imap_8_bit does not encode x20 at the very end of a text, 47 // imap_8_bit does not encode x20 at the very end of a text,