Merge branch 'fix/win32-set-names' into 'develop'
Pandora's DB does not default to utf8 on win32 anymore. Thanks koichiro! See merge request artica/pandorafms!2008
This commit is contained in:
commit
0b4b60dec9
|
@ -131,9 +131,6 @@ sub db_connect ($$$$$$) {
|
|||
# Enable character semantics
|
||||
$dbh->{'mysql_enable_utf8'} = 1;
|
||||
|
||||
# Tell the server to return UTF-8 strings.
|
||||
$dbh->do("SET NAMES 'utf8';") if ($^O eq 'MSWin32');
|
||||
|
||||
return $dbh;
|
||||
}
|
||||
elsif ($rdbms eq 'postgresql') {
|
||||
|
|
Loading…
Reference in New Issue