support to set the client-encoding (charset) for the DB and select a system-charset (utf-8 or others) at installation time

This commit is contained in:
Ralf Becker 2004-11-21 10:54:11 +00:00
parent 64976f0b1c
commit 920af8e10e

View File

@ -168,6 +168,8 @@
$charset = substr($line,9);
// needed if mbstring.func_overload > 0, else eg. substr does not work with non ascii chars
@ini_set('mbstring.internal_encoding',$charset);
// set the DB's client encoding
$this->db->Link_ID->SetCharSet($charset);
continue;
}
if (substr($line,0,8) == 'schema: ')