X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcollation%2FCollationFa.php;h=7410886ecad67de5645bf6bd7aaaee6a6326ac85;hb=23f0ce46d46d06e4aa71b9bfe6d47bc5aaa63e68;hp=f8506d7bc90a0de0adae126cdb61fda149a8c785;hpb=eb56a9255a27b23c683ca728b0d23e4c689c2405;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/collation/CollationFa.php b/includes/collation/CollationFa.php index f8506d7bc9..7410886eca 100644 --- a/includes/collation/CollationFa.php +++ b/includes/collation/CollationFa.php @@ -32,9 +32,13 @@ class CollationFa extends IcuCollation { // Really hacky - replace with stuff from other blocks. private $override = [ - "\xd8\xa7" => "\u{0621}", - "\xd9\x88" => "\u{0649}", + // U+0627 ARABIC LETTER ALEF => U+0623 ARABIC LETTER ALEF WITH HAMZA ABOVE + "\xd8\xa7" => "\xd8\xa3", + // U+0648 ARABIC LETTER WAW => U+0649 ARABIC LETTER ALEF MAKSURA + "\xd9\x88" => "\xd9\x89", + // U+0672 ARABIC LETTER ALEF WITH WAVY HAMZA ABOVE => U+F3001 (private use area) "\xd9\xb2" => "\xF3\xB3\x80\x81", + // U+0673 ARABIC LETTER ALEF WITH WAVY HAMZA BELOW => U+F3002 (private use area) "\xd9\xb3" => "\xF3\xB3\x80\x82", ];