Wampserver and UTF-8 problem in $_GET and browser URL
Posted by: Waher (---.131.16.37.cable.starman.ee)
Date: April 14, 2010 12:38AM

Wampserver is up and running without problems, I am guessing I am missing some Apache setting somewhere, but when I access my localhost with:

://localhost/originnode/?test=õäöü

.. the browser converts the URL to ..

://localhost/originnode/?test=%F5%E4%F6%FC

.. and same applies to $_GET string. Now I know that a hosting service I am using has no such problem and the index.php meta tag and header both serve the document as UTF-8. This only happens on localhost, with the same file.

Any solution to this problem? Where to look?



Edited 2 time(s). Last edit at 04/14/2010 12:47AM by Waher.

Options: ReplyQuote
Re: Wampserver and UTF-8 problem in $_GET and browser URL
Posted by: Waher (---.131.16.37.cable.starman.ee)
Date: April 14, 2010 01:28AM

After spending another hour on Google, only thing I've found is reference to variable:

AddDefaultCharset

Which does not exist anywhere in Apache configuration of Wampserver. Adding it there didn't make a difference either.

Help please?

Options: ReplyQuote
Re: Wampserver and UTF-8 problem in $_GET and browser URL
Posted by: Wombat (203.171.197.---)
Date: April 27, 2010 06:43PM

Browsers automatically URI Encode GET query strings (safe). That's all you are looking at.

You don't say what you do with the q string but all it needs is to be correctly unencoded to evaluate; what is the rsult then?

Regards, 'imself.

-----------------------------------------------------------------
...bug free, my programs do occasionally include undisclosed FREE random features.



Edited 1 time(s). Last edit at 04/27/2010 06:47PM by Wombat.

Options: ReplyQuote


Sorry, only registered users may post in this forum.