You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using your lib with both 2.7.11 and 3.5.1. Py3 definitely seems to work better, but I'm getting odd output for some chars in both. For example:
$ python3
>>> from xpinyin import Pinyin
>>> p = Pinyin()
>>> p.get_pinyin(u"秋")
'qiu'
>>> p.get_pinyin(u"秋", show_tone_marks=True)
'qiū!!!!'
$ python
>>> from xpinyin import Pinyin
>>> p = Pinyin()
>>> p.get_pinyin(u"秋")
u'qiu'
>>> p.get_pinyin(u"秋", show_tone_marks=True)
u'qi\u016b!!!!'
The text was updated successfully, but these errors were encountered:
I tried using your lib with both 2.7.11 and 3.5.1. Py3 definitely seems to work better, but I'm getting odd output for some chars in both. For example:
The text was updated successfully, but these errors were encountered: