From b3caa05a380d69010058c134dd097734da613f3a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 22 Jun 2017 16:22:49 +0200 Subject: [PATCH] CollationFa: Avoid PHP 7 Unicode escape syntax We still support PHP 5.5. Change-Id: I587cb794cded95afe7ad493614a6090a108efe6c --- includes/collation/CollationFa.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/collation/CollationFa.php b/includes/collation/CollationFa.php index f8506d7bc9..fb46ab4b70 100644 --- a/includes/collation/CollationFa.php +++ b/includes/collation/CollationFa.php @@ -32,8 +32,8 @@ class CollationFa extends IcuCollation { // Really hacky - replace with stuff from other blocks. private $override = [ - "\xd8\xa7" => "\u{0621}", - "\xd9\x88" => "\u{0649}", + "\xd8\xa7" => "\xd8\xa1", + "\xd9\x88" => "\xd9\x89", "\xd9\xb2" => "\xF3\xB3\x80\x81", "\xd9\xb3" => "\xF3\xB3\x80\x82", ]; -- 2.20.1