-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Persian encoding #9
Comments
Hi, Hrm, so this is really supposed to be language agnostic, it will strip diacratic to their base a-z character. I don't really have any idea on how to handle non-latin languages. Can you advise what a slugged output should be for those characters? |
Yes. For example input; output: I have seen one git project but the main problem is that, it wrote on .net framework 4.6 and has some conflict on .net core 2 |
This lib has a "known" character set based on the latin alphabet... Not really sure how we could handle this one. |
handle in the same way? not the most dynamic way, but it seem to works. another project for ref |
Resurfacing this..... the linked project from @arisliang has a mapping from unicode characters from other languages to an ascii set. With the source text of: Does that actually solve the issue that people have here? |
As an example, there is another library used on the frontend https://github.com/pid/speakingurl, which also uses character mapping and can be taken as a reference. Character mapping can be found in this file Input: Output: A character mapping can be created by comparing the characters in the other libraries to include all common characters. |
Please see #82 for feedback. |
This is currently in a prerelease v5, you can trial it via:
|
It doesn't work for Unicode characters such as "نوشتار فارسی".
How should I do?
The text was updated successfully, but these errors were encountered: