pinyin icon indicating copy to clipboard operation
pinyin copied to clipboard

PINYIN_KEEP_PUNCTUATION选项不起作用

Open adamwuyu opened this issue 5 years ago • 2 comments

加上PINYIN_KEEP_PUNCTUATION选项后,不报错,但也不会输出标点符号,比如书名号。convert函数和sentence函数都是这样。

adamwuyu avatar Apr 22 '19 04:04 adamwuyu

只会保留这些:https://github.com/overtrue/pinyin/blob/master/src/Pinyin.php#L45

overtrue avatar Apr 22 '19 10:04 overtrue

只会保留这些:https://github.com/overtrue/pinyin/blob/master/src/Pinyin.php#L45

这些标点符号可以自定义吗 ? 比如➕

yaqianghan avatar Nov 08 '21 07:11 yaqianghan