SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: url with éçaëü in them
-
Oct 21, 2009, 04:23 #1
- Join Date
- Jul 2004
- Location
- The Netherlands
- Posts
- 1,469
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
url with éçaëü in them
I'm trying to figure out how to get éçaëü in the url without turning in into this after you click on it test.php?%E9%E7a%EB%FC.
If you hover over the link in Firefox it looks like test.php?éçaëü, but once you click on it. It changes to test.php?%E9%E7a%EB%FC in the url bar. I did some searching on the forms and came accross several posts mentioning urlencode, but that doesn't make a difference.
It must be possible to keep the éçaëü intact after you clicked on it. This page http://frontpage.fok.nl/nieuws/11971...-bonussen.html has a ë in the url.
Any idea how they could have done that?
-
Oct 21, 2009, 08:39 #2
- Join Date
- Jun 2005
- Location
- Alkmaar, The Netherlands
- Posts
- 693
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
...............Just put it as a non urlencoded character in a link?
Turnware MVC - A new barebone, fast and flexible PHP5 framework!
Ruben Knol
Turnware MVC Lead Developer
-
Oct 21, 2009, 09:34 #3
- Join Date
- Jul 2004
- Location
- The Netherlands
- Posts
- 1,469
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Maybe I'm missing something here, but aren't the éçaëü just normal non urlencoded characters. I didn't use any special urlencoding over them. Just a plain link with those characters behind them. The browser is the one that converts the éçaëü to %E9%E7a%EB%FC in the url bar, but only after you have clicked on them. If you don't click the link they looks like normal characters in the link.
-
Oct 21, 2009, 12:34 #4
- Join Date
- Jul 2004
- Location
- The Netherlands
- Posts
- 1,469
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Just found out that IE doesn't seem to break the url, the adres bar shows test.php?éçaëü instead of test.php?%E9%E7a%EB%FC which is what Firefox (3.5.3), Opera and Chrome do turn it into.
Can this be some kind of system setting that screws it up? A friend of mine tested it as well in Firefox, and it works fine at his place.
-
Oct 21, 2009, 14:09 #5
- Join Date
- Sep 2005
- Location
- Sydney, NSW, Australia
- Posts
- 16,875
- Mentioned
- 25 Post(s)
- Tagged
- 1 Thread(s)
It would depend on the character encoding you are using for the browser. What that would default to would depend on the operating system but you should still be able to override the selection from the browser settings.
What you can't do is to control it from the web page.Stephen J Chapman
javascriptexample.net, Book Reviews, follow me on Twitter
HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
<input name="html5" type="text" required pattern="^$">
Bookmarks