You are here: Re: Problem with RewriteRule when url contains percent character « PHP Programming Language « IT news, forums, messages
Re: Problem with RewriteRule when url contains percent character

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация