Unicode slugs? Yes please!
The entire system itself is now no longer restrictive to Latin characters only. Hopefully, this should appease our many international viewers.
I still call
str.toLowerCase();on the title, although I have no clue whether it actually lowercases unicode text. It seemed to work (sort of) for Turkish, in that İ turned into i...
Given that the sole purpose of having slugs is for SEO value, I see no reason why all topics using a non-Latin character set should be sluggified to "-"
Unicode slugs will be available in 0.2.1 (or on latest builds, of course)
Pakorn last edited by
Unicode slug is not fully supported Thai. Upper and lower characters are not showing on the url, eg. "ข่าวและบทวิเคราะห์" -> "ข-าวและบทว-เคราะห"
Can i change url to post id instead?
Xiph last edited by Xiph
toLocaleLowerCasewould seem to be the better solution here. Feel free to submit a pull request to fix that up