For MediaWiki (recent comments | status changes | tags | authors | states | release notes | statistics)
Do we have tests for stuff like this?
We should add them if we're going to keep supporting code that none of us can read ;-)
You can try out using OUnit :-)
That pattern match any \\text element with non ascii character. Upon match, it set the encoding to UTF8 (which we should do by default anyway nowadays).
Good for me.