Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82731

BiDi algorithm doesn't implement rule W5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.9.5
    • GUI: Text handling
    • None
    • Ubuntu 18.04
    • Linux/X11

      Unicode support for bidirectional languages is supposed to be implemented using the Unicode BiDi algorithm (UBA), detailed in http://www.unicode.org/reports/tr9/. Rule W5 states:

      W5. A sequence of European terminators adjacent to European numbers changes to all European numbers.

      It appears that QT do not implement this rule.

      When typing in kate (verified to also happen in a QT application newly created with QT Creator) a sequence of Hebrew or Arabic letters, followed by a European Terminator (such as
      the hash symbol - #), followed by a number, the ET should receive the level of the number.

      logical order (upper case means RTL characters):

      HELLO #12

      UBA dictated visual order:

      #12 OLLEH

      Actual order performed by kate:

      12# OLLEH

      Sample test for you to test:

      שלום #12

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            shachar Shachar Shemesh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes