mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00: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:
parent
2b4525ae97
commit
d63ccbe8ac
1 changed files with 5 additions and 0 deletions
|
@ -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('');
|
return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error('');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue