PHP 连接MSSQL ,用UTF8提交到MSSQL,mssql 后台管理查询乱码问题?

WBOY
Release: 2016-06-23 14:26:09
Original
893 people have browsed it

PHP 连接MSSQL ,用UTF8提交到MSSQL,mssql 后台管理查询乱码问题?
1.改变mssql 字符集,非常的麻烦,而且还有别的应用
2.PHP 因为用的THINKPHP 框架,THINKPHP 对飞UTF8的怕又隐患。
不知哪位高人能帮想想办法


回复讨论(解决方案)

用 iconv 或者 mb_convert_encoding 将数据转化成mssql数据库的编码

现在CSDN 的人气越来越差了。。。。

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!