handling of (TM) and (R) in getdisplayableBody in case of Non-UTF8 Mailbodys

This commit is contained in:
Klaus Leithoff 2010-09-15 08:26:15 +00:00
parent 629beb0faf
commit a1c2b6d92f

View File

@ -1212,6 +1212,8 @@
'@(\x82|\x91|\x92)@',
'@(\x85)@',
'@(\x86)@',
'@(\x99)@',
'@(\xae)@',
);
$rar = array(
'"',
@ -1219,6 +1221,8 @@
'\'',
'...',
'&',
'(TM)',
'(R)',
);
if(($singleBodyPart['mimeType'] == 'text/html' || $singleBodyPart['mimeType'] == 'text/plain') &&
strtoupper($singleBodyPart['charSet']) != 'UTF-8')