Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

保留符号 #21

Open
AndorChen opened this issue Nov 15, 2015 · 1 comment
Open

保留符号 #21

AndorChen opened this issue Nov 15, 2015 · 1 comment

Comments

@AndorChen
Copy link

下面这个例子是现在的转换方式:

irb
irb(main):001:0> require 'chinese_pinyin'
=> true
irb(main):002:0> Pinyin.t('/(斜线)')
=> "  xie xian"

可以看出,斜线(/)和括号(())都被“吃掉”了。有没有办法可以保留符号呢?

@ewiggin
Copy link

ewiggin commented Nov 6, 2017

Punctuation symbols do not appear in the conversion (. ! , ?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants