| 
	
 | 
 Posted by Tim Roberts on 02/07/07 07:51 
"rh" <disposable12345@cableone.net> wrote: 
> 
>"Jon Maz" <pparker.removethis@gmx.removethistoo.net> wrote: 
>> 
>> I'm having problems with a RewriteRule that's applied to url's with the % 
>> character in them, hope someone can help. The % character is a result of 
>> url-encoding non-ASCII words, as in the example below: 
>> 
>> 1. the word "sécurité" comes out of my db 
>> 
>> 2. I  construct the following link, using the php urlencode function: 
>> <a href="/search/s%C3%A9curit%C3%A9">sécurité</a> 
> 
>How do you get s%C3%A9curit%C3%A9 from sécurité 
> 
>sécurité, url encoded, is s%E9curit%E9 
 
Only in iso-8859-1.  In UTF-8, the OP's encoding is correct. 
--  
Tim Roberts, timr@probo.com 
Providenza & Boekelheide, Inc.
 
  
Navigation:
[Reply to this message] 
 |