fix convert for us-ascii

This commit is contained in:
Lars Kneschke 2003-10-10 05:01:49 +00:00
parent cb65e22c87
commit 00db10168f

View File

@ -252,6 +252,10 @@
{
$from = mb_detect_encoding($data);
}
if(strtolower($from) == 'us-ascii')
{
$from = 'iso-8859-1';
}
if (!$to)
{
$to = $this->charset();