[pmwiki-users] UTF-8 as core default encoding (was: Headers arenotsending charset !)

Patrick R. Michaud pmichaud at pobox.com
Mon Mar 12 10:53:41 CDT 2007


On Mon, Mar 12, 2007 at 05:37:59PM +0200, Athan wrote:
> "Patrick R. Michaud" <pmichaud at pobox.com> wrote in message 
> news:20070312152005.GG29823 at host.pmichaud.com...
> 
> > AFAICT, none of them support preg_match, so they require a workaround.
> 
> Correct!
> Actually preg_match supports utf8 using /u modifier though PCRE has to be 
> compiled with PCRE_UTF8 support.

preg_match supports the /u modifier, but the /u modifier doesn't
cause either /i or [[:upper:]]/[[:lower:]] in patterns to work.  
All that the /u modifier does is cause PCRE to recognize multibyte utf-8
sequences as being single characters (and that doesn't seem to
matter much for the patterns that PmWiki uses).

Pm



More information about the pmwiki-users mailing list