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

Fixing the Issue with toPinyin Function Unable to Retrieve Pinyin for Single Phonetic Symbol #7

Open
nick1092387456 opened this issue May 8, 2024 · 0 comments

Comments

@nick1092387456
Copy link

nick1092387456 commented May 8, 2024

Enhanced issue content:

We kindly bring to your attention an issue regarding the toPinyin function. When provided with a single phonetic symbol (e.g., toPinyin("ㄢ")), it fails to retrieve the corresponding pinyin "an".

We respectfully propose a solution to this matter. By adjusting the while loop condition in the splitZhuyin function from while (count > 1) to while (count >= 1), this issue can be addressed with due diligence.

@nick1092387456 nick1092387456 changed the title Title suggestion: Fixing the Issue with toPinyin Function Unable to Retrieve Pinyin for Single Phonetic Symbol Fixing the Issue with toPinyin Function Unable to Retrieve Pinyin for Single Phonetic Symbol May 8, 2024
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

1 participant