[wp-hackers] Unicode url rewriting using add_rewrite_rule()

Otto otto at ottodestruct.com
Wed Dec 12 19:37:37 UTC 2012

On Wed, Dec 12, 2012 at 1:01 PM, Deepak Mittal <dpac.mittal2 at gmail.com> wrote:
> I understand that. Browser always percent-encodes the URLs. This URL goes
> to the regex engine (PCRE) as an ASCII string. This is the exact reason why
> I need the 'u' modifier - to tell PCRE that the supplied string must be
> treated as a Unicode string.

That kinda doesn't make any sense. You can't have a unicode string
there, because it will be percent encoded. So matching against unicode
won't work anyway.


More information about the wp-hackers mailing list