forked from extern/egroupware
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:
parent
64976f0b1c
commit
920af8e10e
@ -168,6 +168,8 @@
|
|||||||
$charset = substr($line,9);
|
$charset = substr($line,9);
|
||||||
// needed if mbstring.func_overload > 0, else eg. substr does not work with non ascii chars
|
// needed if mbstring.func_overload > 0, else eg. substr does not work with non ascii chars
|
||||||
@ini_set('mbstring.internal_encoding',$charset);
|
@ini_set('mbstring.internal_encoding',$charset);
|
||||||
|
// set the DB's client encoding
|
||||||
|
$this->db->Link_ID->SetCharSet($charset);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (substr($line,0,8) == 'schema: ')
|
if (substr($line,0,8) == 'schema: ')
|
||||||
|
Loading…
Reference in New Issue
Block a user