mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-22 01:18:59 +02:00
Pandora's DB does not default to utf8 on win32 anymore. Thanks koichiro!
Ref pandora_enterprise#3031.
This commit is contained in:
parent
2480de2f9f
commit
c8f94e6756
@ -131,9 +131,6 @@ sub db_connect ($$$$$$) {
|
|||||||
# Enable character semantics
|
# Enable character semantics
|
||||||
$dbh->{'mysql_enable_utf8'} = 1;
|
$dbh->{'mysql_enable_utf8'} = 1;
|
||||||
|
|
||||||
# Tell the server to return UTF-8 strings.
|
|
||||||
$dbh->do("SET NAMES 'utf8';") if ($^O eq 'MSWin32');
|
|
||||||
|
|
||||||
return $dbh;
|
return $dbh;
|
||||||
}
|
}
|
||||||
elsif ($rdbms eq 'postgresql') {
|
elsif ($rdbms eq 'postgresql') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user