mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-10 03:36:31 +02:00
- FreeTDS builds lets you specify a character set encoding, lets take advantage of that
git-svn-id: file:///svn/phpbb/trunk@6703 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -46,6 +46,11 @@ class dbal_mssql extends dbal
|
||||
}
|
||||
}
|
||||
|
||||
if (ini_get('mssql.charset'))
|
||||
{
|
||||
ini_set('mssql.charset', 'UTF-8');
|
||||
}
|
||||
|
||||
return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error('');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user