URL Helper function url_title not working for specific russian words like Размещение на основе самообслуживания |
[eluser]Unknown[/eluser]
Hi everyone, For one of my codeignitor projects, i noticed that for some russian words the url_title function does not work correctly. For example the russian word "Размещение на основе самообслуживания" it returns blank. Regards Vinay
[eluser]ivantcholakov[/eluser]
I use may transliteration to ASCII of the title (in Bulgarian language) before passing it as an argument to the function url_title(). And I have just published a class for solving this problem - https://github.com/ivantcholakov/transliterate Here is a test for your example in Russian: Code: $title = 'Размещение на основе самообслуживания'; |
Welcome Guest, Not a member yet? Register Sign In |