Home >Backend Development >PHP Tutorial >【9.9包邮上海】转中文

【9.9包邮上海】转中文

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 20:08:081755browse

上面的字符转为中文汉字

回复内容:

上面的字符转为中文汉字

不好意思

<code>echo mb_convert_encoding("【9.9包邮上海】", "UTF-8", "HTML-ENTITIES");</code>

echo htmlspecialchars_decode('【9.9包邮上海】');#【9.9包邮上海】

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