CodeIgniter Forums
Turkish characters in permitted_uri_chars and alpha_dash validation - 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: Turkish characters in permitted_uri_chars and alpha_dash validation (/showthread.php?tid=31063)



Turkish characters in permitted_uri_chars and alpha_dash validation - El Forum - 06-05-2010

[eluser]Usman -Halal IT[/eluser]
Hi,
I want to add these Turkish characters (İ, Ü, Ö, Ç, Ş, Ğ, I, ü, ö, ç, ş, ğ) in permitted uri chars.
I have tried something like that
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_Ş\-';
but doesn't work.

I also want to add turkish characters in alpha_dash in validation library.

Any ideas?


Turkish characters in permitted_uri_chars and alpha_dash validation - El Forum - 06-07-2010

[eluser]Usman -Halal IT[/eluser]
Hi,
Any help? Still having problem.


Turkish characters in permitted_uri_chars and alpha_dash validation - El Forum - 02-17-2011

[eluser]Unknown[/eluser]
in case of the chr(135)
I use the function chr, to let you know its ascii value
I did added the character ç
to the permited_uri_chars
and did work