problem with "permitted_uri_chars" + "url_title" because of "arabic" + "utf-8" |
[eluser]DeaD SouL[/eluser]
Hello, I tried to add the arabic language to url_title() by editing Code: '[^a-z0-9\-\._]' => '', Code: '[^ء-يa-z0-9\-\._]' => '', like this Quote:�جرد-تجربة-با�عربيةso i decided to use unicode characters blocks instead of the characters according to Unicode Block 'Arabic' Code: ء = U+0621 Code: '[^[U+0621]-[U+064a]a-z0-9\-\._]' => '', and it worked just fine ![]() so i tried to do the same to Code: $config['permitted_uri_chars'] so i added this Code: $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; // DEFAULT it gave me this error Quote:A PHP Error was encountered even if i go with this Code: $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; // DEFAULT i get this error Quote:The URI you submitted has disallowed characters. any idea or help would be greatly appreciated thanks |
Messages In This Thread |
problem with "permitted_uri_chars" + "url_title" because of "arabic" + "utf-8" - by El Forum - 10-31-2009, 04:10 PM
problem with "permitted_uri_chars" + "url_title" because of "arabic" + "utf-8" - by El Forum - 10-31-2009, 05:54 PM
problem with "permitted_uri_chars" + "url_title" because of "arabic" + "utf-8" - by El Forum - 10-31-2009, 07:43 PM
problem with "permitted_uri_chars" + "url_title" because of "arabic" + "utf-8" - by El Forum - 11-01-2009, 05:58 PM
problem with "permitted_uri_chars" + "url_title" because of "arabic" + "utf-8" - by El Forum - 11-06-2009, 09:42 AM
problem with "permitted_uri_chars" + "url_title" because of "arabic" + "utf-8" - by El Forum - 11-16-2009, 11:31 PM
|