mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-12-27 23:46:18 +00:00
Fix Cp1252 encoding
This commit is contained in:
parent
dea7f4d1d8
commit
0bc9950b42
@ -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…
Reference in New Issue
Block a user