Specify the utf-8 charset on error messages.
authorPlatonides <platonides@gmail.com>
Wed, 3 Apr 2013 23:28:33 +0000 (01:28 +0200)
committerPlatonides <platonides@gmail.com>
Wed, 3 Apr 2013 23:28:33 +0000 (01:28 +0200)
commit29f713ed10566036925329a20707bd94720bc73a
tree13b24ce96d590530311a5ef9f1603e90b45fce7e
parent893ff1ed77d6f0f3deba85ba240a74e16ed8cd02
Specify the utf-8 charset on error messages.

Although the contents of error messages are English text,
and thus it's irrelevant that it gets interpreted as
iso-8859-1 instead of utf-8, $wgSitename is printed by
DBConnectionError::searchForm(), and that can contain utf-8.

Cached pages may also be in utf-8.

Change-Id: I81c02493f0824cb010c80f4356f338787d78df6b
includes/Exception.php