Home  >  Article  >  Backend Development  >  sybase连接应该如何配置字符集

sybase连接应该如何配置字符集

WBOY
WBOYOriginal
2016-06-13 12:30:32988browse

sybase连接应该怎么配置字符集
我的sybase服务器的默认字符集是iso_1,客户端也是,但我在PHP中查询数据库时,汉字显示的都是乱码,我应该怎么设置,请高手指点!
$link= @sybase_connect('syshop','sa','pagedown','iso_1') 

其中:"iso_1"我也改"cp936”、"utf8"等等都是乱码。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn