https://bugzilla.wikimedia.org/show_bug.cgi?id=6455





--- Comment #69 from Robert Rohde <[email protected]>  2009-03-30 19:20:18 
UTC ---
(In reply to comment #68)
> (In reply to comment #66)
> > We already have some of these compatibility functions in GlobalFunctions.php
> > (mb_strlen and mb_substr).  You should use those, and add any additional 
> > ones
> > there.
> 
> Okay.  The one caveat is that my functions more or less assume they are being
> passed valid UTF-8 strings, and the encoding parameter for mb_strpos, etc. is
> not implemented.  It appears that mb_strlen in GlobalFunctions is making the
> same assumption, so I'll assume that is okay for Mediawiki's purposes.

Added the necessary mb_ fallbacks to GlobalFunctions in r49043.

Figuring out the merge with ParserFunctions will take more time.

I'll probably post that as an alternative patch here and let someone with more
familiarity decide whether it is better to build StringFunctions as a separate
stand-alone or to merge it into the ParserFunctions.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to