Apache Server configuration support - URL Rewriting & accents

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2005 > URL Rewriting & accents





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author URL Rewriting & accents
alex

2005-08-24, 8:54 pm

Hi,

I've got a problem with accentuated characters and apache url rewriting.

This is my rewrited url : http://www.mysite.com/test-actualit%C3%A9

Here is my rewriting rule :

RewriteRule ^test-(.*) /index.php?section=$1

In a php script, I get the $_GET['section'] var ; it is set to "actualitã©".
I can't deal with this content because the "ã©" character is unknown.
I first thought "ã©" was an "é" character in UTF-8 but unfortunately it's
not ("é" = "é" in UTF-8).

How can I get the right accentuated character ?

Thanks in advance,

--
Alex


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com