Welcome Guest, Not a member yet? Register   Sign In
url_title doesn't work with cyrillic leters ?!
#1

[eluser]pisio[/eluser]
Hi All. How I can convert cyrillic leters to english.
I use url_title for rewritemode , like as :
http://site.com/index.php/lessons/view/H......_145854
But Title is on Cyrillic I have link
http://site.com/index.php/lessons/view/_......_145854

How I can fix it ?
#2

[eluser]eoinmcg[/eluser]
i've wrestled with this one in the past myself and, the way i see it, there are two solutions:

1. force the user to submit the page url in a separate field. this works if content is added through a cms style admin interface. for user driven content it might not be ideal.

2. take a look at this class. http://www.phpclasses.org/browse/package/2641.html - you could load it as a library and use it rather than url_title

hope that's of some help!




Theme © iAndrew 2016 - Forum software by © MyBB