Home > Backend Development > PHP Tutorial > 编码 - PHP取汉字首字母问题

编码 - PHP取汉字首字母问题

WBOY
Release: 2016-06-06 20:31:15
Original
1318 people have browsed it

我在网上找了一个库,取汉字的首字母。其中有一个字转换是错误的,“黛”的首字母应该是D,但是却给了我一个Z。其中的列1就是我用的库
http://www.111cn.net/phper/php-cy/53100.htm

回复内容:

我在网上找了一个库,取汉字的首字母。其中有一个字转换是错误的,“黛”的首字母应该是D,但是却给了我一个Z。其中的列1就是我用的库
http://www.111cn.net/phper/php-cy/53100.htm

try https://github.com/jifei/Pinyin

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