forked from extern/egroupware
fix convert for us-ascii
This commit is contained in:
parent
cb65e22c87
commit
00db10168f
@ -252,6 +252,10 @@
|
|||||||
{
|
{
|
||||||
$from = mb_detect_encoding($data);
|
$from = mb_detect_encoding($data);
|
||||||
}
|
}
|
||||||
|
if(strtolower($from) == 'us-ascii')
|
||||||
|
{
|
||||||
|
$from = 'iso-8859-1';
|
||||||
|
}
|
||||||
if (!$to)
|
if (!$to)
|
||||||
{
|
{
|
||||||
$to = $this->charset();
|
$to = $this->charset();
|
||||||
|
Loading…
Reference in New Issue
Block a user