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

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

WBOY
Release: 2016-06-13 12:30:32
Original
1016 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template