CodeIgniter Forums
Polish characters are unallowed in argument? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Polish characters are unallowed in argument? (/showthread.php?tid=27297)



Polish characters are unallowed in argument? - El Forum - 02-06-2010

[eluser]rockstyle[/eluser]
I've got this error, but as a looked into the code it appears that polish characters are disallowed. I've got this in routes:
Code:
$route['zatwierdzone'] = "home/index/zatwierdzone";
$route['oczekujace'] = "home/index/oczekujące";
$route['odrzucone'] = "home/index/odrzucone";
It works but only for the first and for the last. It shows me an error when i'm trying to get to the second called oczekujące. I can also tell that oczekujace is record from column title.

ERROR:
Code:
A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/forum_list.php

Line Number: 3
A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/forum_list.php

Line Number: 5
A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: views/forum_list.php

Line Number: 5



Polish characters are unallowed in argument? - El Forum - 02-06-2010

[eluser]moodh[/eluser]
include "ą" in allowed chars in config or change "ą" to a or something in the url-part.


Polish characters are unallowed in argument? - El Forum - 02-06-2010

[eluser]Shay Falador[/eluser]
I don't know these polish characters but in order to fix them open application/config/config.php.
In this file you have this line:
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
Add your polish characters into it and thats it!


Polish characters are unallowed in argument? - El Forum - 02-06-2010

[eluser]rockstyle[/eluser]
Doesn't work. Does it seem that CI doesn't allow me to use Polish chars in argument? Kinda sucks, Neither changing url and adding permitted uri chars works...