CodeIgniter Forums
helper('url') vs Thai language agrument = Error - 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: helper('url') vs Thai language agrument = Error (/showthread.php?tid=20125)



helper('url') vs Thai language agrument = Error - El Forum - 06-29-2009

[eluser]Unknown[/eluser]
Hellow everbody .
I have my problem again about url and Thai language agrument.
Code:
in my controler .
redirect("admin_excute/submit_add_place_type/argument"); // work in english language.
//but i want to send agrument in Thai language .
//it is error .
// display : The URI you submitted has disallowed characters.
// my url : http://localhost/travel_thai/admin_excute/submit_add_place_type/success/uploads_slash_�_าษาไทย3_dot_jpeg.html

�_าษาไทย3<-- this is thai language

How to i send agrument with Thai language
befor : i change my file to utf-8 in controler and views but dose't work.


helper('url') vs Thai language agrument = Error - El Forum - 06-29-2009

[eluser]TheFuzzy0ne[/eluser]
You can set $config['permitted_uri_chars'] to '' in ./system/application/config.php file.
Code:
$config['permitted_uri_chars'] = '';

This is potentially very dangerous however, but should work until you find a better solution.