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

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

WBOY
WBOYOriginal
2016-06-13 12:40:56895browse

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

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