Home > Backend Development > PHP Tutorial > php怎么拼接二进制数据成字符串

php怎么拼接二进制数据成字符串

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:39:21
Original
1041 people have browsed it

php如何拼接二进制数据成字符串?
比如字符“你”的utf8 编码是“E4BDA0”。
现在有一数组$arr

$arr = array(chr(228), chr(189), chr(160));
Copy after login

如何将其拼接成一块,可以让其打印出字符“你”?
求帮助
二进制 php utf-8 编码

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