#1619 unable to find text in utf8 encode

Bug
closed-invalid
Neil Hodgson
scintilla (183)
2
2014-08-14
2014-07-04
hessam
No

hi,
i open text file with Farsi content on it, with utf8 encode
i search for this:همیشه
but program unable to find it
please fix this

1 Attachments

Discussion

  • Neil Hodgson
    Neil Hodgson
    2014-07-04

    Apple's TextEdit app also does not find a match.

    The search string "همیشه" is similar to some words "هميشه" in the file but differs in the middle character which is 'ی' U+06CC ARABIC LETTER FARSI YEH, not 'ي' U+064A ARABIC LETTER YEH, In UTF-8, this is "\xd9\x87\xd9\x85\xdb\x8c\xd8\xb4\xd9\x87" instead of "\xd9\x87\xd9\x85\xd9\x8a\xd8\xb4\xd9\x87" so Scintilla does not match.

     
  • hessam
    hessam
    2014-07-05

    also i forgot to say that
    in above sample i search for:معبدت
    but i see in preview half of this word selected
    and half of another word

     
    • Neil Hodgson
      Neil Hodgson
      2014-07-05

      Scintilla does not properly support right-to-left languages like Arabic.

       
  • hessam
    hessam
    2014-07-05

    please add support for right to left
    anyway thank you very much

     
  • Neil Hodgson
    Neil Hodgson
    2014-07-07

    • labels: --> scintilla
    • status: open --> open-invalid
    • assigned_to: Neil Hodgson
    • Priority: 5 --> 2
     
  • Neil Hodgson
    Neil Hodgson
    2014-08-14

    • status: open-invalid --> closed-invalid