![]() |
Allowing special characters in the uri (á,ű,ó.....) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Allowing special characters in the uri (á,ű,ó.....) (/showthread.php?tid=9314) |
Allowing special characters in the uri (á,ű,ó.....) - El Forum - 06-21-2008 [eluser]abszint[/eluser] Hi! My current setting is the default one: Code: $config['permitted_uri_chars'] = 'a-z 0-9~%.:_-'; I use UTF8 everywhere, all of my php files are saved in this format too. How do I modify this setting to allow special characters like á,Á,ú.... and the space character? Thanks Allowing special characters in the uri (á,ű,ó.....) - El Forum - 02-25-2009 [eluser]Nonox[/eluser] Hi abszint, Did you solved the problem with the special characters in the uri? Allowing special characters in the uri (á,ű,ó.....) - El Forum - 02-25-2009 [eluser]abszint[/eluser] [quote author="Nonox" date="1235604587"]Hi abszint, Did you solved the problem with the special characters in the uri?[/quote] Hi! I gave up on that one and urlencoded the things i had to have in the uri. But I think you just have to make a correct regexp pattern by somehow escaping the special UTF-8 chars. If you discover a solution please post it. abszint Allowing special characters in the uri (á,ű,ó.....) - El Forum - 02-25-2009 [eluser]Nonox[/eluser] Well, I found this: http://www.derekallard.com/blog/post/passing-disallowed-characters-through-the-url-in-code-igniter/ Maybe thats help you... In my case is not useful, But I'm going to find another way. |