My users sometimes use chinese characters for the title of their input.
My slugs are in the format of /stories/:id-:name
where an example could be /stories/1-i-love-php
.
How do I allow chinese characters?
I have googled and found the japanese version of this answer over here.
Don't quite understand Japanese, so I am asking about the chinese version.
Thank you.
i have tested in Bengali characters
it may work. try this: at first the coded page (write code where in the page) have to convert into encoding type in UTF-8, then write code.
code here:
output: