[英]FreeTDS with UTF-8 doesn't return UTF-8 symbols
I am making a MSSQL query using FreeTDS.我正在使用 FreeTDS 进行 MSSQL 查询。 The problem is that I don't get any special UTF-8 symbols.
问题是我没有得到任何特殊的 UTF-8 符号。 I am using an PHP application and I have odbc.ini files with the following configuration:
我正在使用 PHP 应用程序,并且我有 odbc.ini 文件,其配置如下:
[test]
host = server.com
port = xxxxx
tds version = 7.4
client charset = WINDOWS-1257
I also tried client charset UTF-8.我还尝试了客户端字符集 UTF-8。 but it didn't helped.
但它没有帮助。 What could be the problem?
可能是什么问题呢?
将版本更改为 7.2 解决了问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.