mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-03-03 02:27:01 +00:00
Fix Cp1252 encoding
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user