awjrichards has submitted this change and it was merged.

Change subject: Tell DOMDocument that our diff is UTF-8 encoded.
......................................................................


Tell DOMDocument that our diff is UTF-8 encoded.

Otherwise non-ASCII text in diff is garbled. It's decoded as ISO-8859-1
as DOMDocument input, then encoded as UTF-8 as DOMDocument output.

This is hacky, but the whole function is already hacky enough.

Change-Id: Ic9c437bf1c32eea70924836080ba5591cffd49e7
---
M includes/specials/SpecialMobileDiff.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  awjrichards: Verified; Looks good to me, approved
  jenkins-bot: Checked


--
To view, visit https://gerrit.wikimedia.org/r/47388
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic9c437bf1c32eea70924836080ba5591cffd49e7
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Liangent <[email protected]>
Gerrit-Reviewer: Liangent <[email protected]>
Gerrit-Reviewer: awjrichards <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to