mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
fix convert for us-ascii
This commit is contained in:
parent
cb65e22c87
commit
00db10168f
@ -252,6 +252,10 @@
|
||||
{
|
||||
$from = mb_detect_encoding($data);
|
||||
}
|
||||
if(strtolower($from) == 'us-ascii')
|
||||
{
|
||||
$from = 'iso-8859-1';
|
||||
}
|
||||
if (!$to)
|
||||
{
|
||||
$to = $this->charset();
|
||||
|
Loading…
Reference in New Issue
Block a user