Skip to content

Instantly share code, notes, and snippets.

@ahmednasir91
Created May 1, 2014 13:14
Show Gist options
  • Save ahmednasir91/0cf805b5843b295e8959 to your computer and use it in GitHub Desktop.
Save ahmednasir91/0cf805b5843b295e8959 to your computer and use it in GitHub Desktop.
<collation name="utf8_arabic" id="100">
<rules>
<reset>\u0627</reset>
<i>\u0622</i>
<i>\u0623</i>
<i>\u0625</i>
</rules>
<rules>
<reset>\u0647</reset>
<i>\u0629</i>
</rules>
<rules>
<reset>\u0649</reset>
<i>\u064a</i>
</rules>
</collation>
@hzakher
Copy link

hzakher commented Jun 2, 2018

thanks for this gist.
maybe you should add the rule for Ya2 as well
resetting ي and ى

 <rules>
      <reset>\u064A</reset>
      <i>\u0649</i>
    </rules>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment