Zuhair Taha
Zuhair Taha

Reputation: 3032

arabic url in codeigniter at internet explorer

I'm using codeigniter 2.1.1 when i run any url like :

www.mysite.com/search/عربي

$key = "عربي"; it worked with all browsers except internet explorer and IE say: Undefined variable key

Upvotes: 0

Views: 552

Answers (1)

David M
David M

Reputation: 72870

According to the standards (RFC1738), URLs can only contain ASCII characters. Non-ASCII characters must be encoded. This is a rare case of IE being more standards compliant than other browsers.

I believe you'll find if you use something like HTTP Watch that the other browsers are encoding them to send to the server anyway, just displaying the Unicode characters in the address bar...

Upvotes: 1

Related Questions