Getting data with UTF-8 charset from MSSQL server using PHP FreeTDS extension

前端 未结 8 1131
暖寄归人
暖寄归人 2020-11-28 09:28

I can\'t seem to get data from MSSQL encoded as UTF-8 using FreeTDS extension.

Connecting:

ini_set(\'mssql.charset\', \'UTF-8\');
$this->_resource         


        
8条回答
  •  清歌不尽
    2020-11-28 10:10

    You should change your TDS version based on what version of SQL server your using. Check out the installation guide for details.

    http://www.freetds.org/userguide/choosingtdsprotocol.htm

提交回复
热议问题