php如何将接受到的字节流转为Unicode编码啊
我在C#将汉字的Unicode编码转为字节流,然后POST到站点,但是php接收后总是显示问号,如何将接受到的字节流转为Unicode编码啊???
php
c#
------解决方案--------------------显示的编码不对,你可能用了ansi的编码
------解决方案--------------------iconv('ucs-2', 'utf-8', $string)
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