MongoDb is unable to handle Pinyin processing. And what should you do if you encounter polyphonic characters... Converting Chinese characters to Pinyin is the best solution (postgresql can be set to support pinyin sorting, but it is also unable to handle polyphonic characters)
PHP Chinese character to pinyin conversion library:
MongoDb is unable to handle Pinyin processing. And what should you do if you encounter polyphonic characters... Converting Chinese characters to Pinyin is the best solution (postgresql can be set to support pinyin sorting, but it is also unable to handle polyphonic characters)
PHP Chinese character to pinyin conversion library:
Life generates pinyin
name: Zhang San
namepy: zhangsan
Isn’t this the end?
Generate pinyin by yourself