mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Fix Cp1252 encoding
This commit is contained in:
parent
dea7f4d1d8
commit
0bc9950b42
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ abstract class Utils
|
|||
return 'iso-8859-8';
|
||||
}
|
||||
|
||||
return \preg_replace('/^(cp-?|windows?)(12[\d])/', 'windows-$1', $sEncoding);
|
||||
return \preg_replace('/^(cp|windows)-?(12[\d]*)/i', 'windows-$1', $sEncoding);
|
||||
}
|
||||
|
||||
public static function NormalizeCharsetByValue(string $sCharset, string $sValue) : string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue