CodeIgniter Forums
Problem with UTF-8 in the URL - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Problem with UTF-8 in the URL (/thread-52383.html)



Problem with UTF-8 in the URL - El Forum - 06-08-2012

[eluser]Unknown[/eluser]
Hello,
First, sorry about my bad english.

When I create a dynamic address in UTF 8, I get strange characters.

The url look like this:
http://www.domian.com/article/שלום#.T9H1U9WRGSo

Instead of this:
http://www.domain.com/article/שלום

The links look okay:
Code:
<a href="http://www.domaincom/article/שלום">Text</a>

But after I click on the links, I get a redirect to here (in all the browsers except IE):
http://www.domain.com/article/שלום#.T9H1U9WRGSo

Thank you all Smile


Problem with UTF-8 in the URL - El Forum - 06-10-2012

[eluser]web-johnny[/eluser]
This is a Javascript issue. You probably have a javascript that inserts a hash to your URL. For example if you have jquery ui-tabs. That doesn't work in IE it is probably that you have an error to your Javascript and it doesn't work in IE.


Problem with UTF-8 in the URL - El Forum - 06-10-2012

[eluser]Unknown[/eluser]
You're right!
It's just the annoying AddThis bar.

Thank you!!!!