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

Convert failed when starting with '李' #4

Closed
ablipan opened this issue May 12, 2020 · 1 comment
Closed

Convert failed when starting with '李' #4

ablipan opened this issue May 12, 2020 · 1 comment

Comments

@ablipan
Copy link

ablipan commented May 12, 2020

demo:

import 'package:lpinyin/lpinyin.dart';

main() {
  print(PinyinHelper.getPinyin('李四',separator: ''));
  print(PinyinHelper.getPinyin('小李',separator: ''));
  print(PinyinHelper.getPinyin('王五',separator: ''));
}

output:

李si
xiaoli
wangwu
@Sky24n
Copy link
Member

Sky24n commented May 12, 2020

是你字的问题; print(PinyinHelper.getPinyin('李四',separator: ''));

@ablipan ablipan closed this as completed May 12, 2020
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