mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
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);
|
||||
// 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: ')
|
||||
|
Loading…
Reference in New Issue
Block a user