[PyQt] Search method for Arabic text

Maziar Parsijani maziar.parsijani at gmail.com
Wed Aug 22 08:43:35 BST 2018


Hi
I have some Arabic strings in mt database now I want to if I search like
this :

  str1 = "ٱلْمُفْلِحُونَ"
  str2 = "المفلحون"
as you can see str1 is the same as str2 but in Arabic text str1 has more
alphabetical characters.
Is there anyway to search str2 but I could find both of them in a string
like :
 str3 = " المفلحون ٱلْمُفْلِحُونَ ٱلنَّاسُ المفلحون ٱلْمُفْلِحُونَ المفلحون
ٱلنَّاسُ المفلحون ٱلنَّاسُ "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180822/6c40e839/attachment.html>


More information about the PyQt mailing list