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

how to reverse url slug #67

Open
Ijazweb opened this issue Sep 12, 2021 · 1 comment
Open

how to reverse url slug #67

Ijazweb opened this issue Sep 12, 2021 · 1 comment

Comments

@Ijazweb
Copy link

Ijazweb commented Sep 12, 2021

echo URLify::slug('中文简体');
result zhong-wen-jian-ti
how to get back slug in chines
i means how can reverse slug translate

@lux
Copy link
Collaborator

lux commented Sep 20, 2021

There is no reverse option and it would be hard to make an accurate one since many characters map to multiple ascii characters and some overlap with each other as well.

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