UTF-8编码的程序POST数据给一个GBK编码的程序接收,应该怎么办

WBOY
Release: 2016-06-13 12:40:56
Original
894 people have browsed it

UTF-8编码的程序POST数据给一个GBK编码的程序接收,应该怎么处理?
我的系统是UTF-8编码开发的,现在由于某个业务和另外一家业务之间有数据要传输,现在要从我这边POST数据给对方,对方那边的编码是GBK的,请问我在POST数据时应该怎么处理才不会有问题呢?

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