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

BiDi algorithm doesn't implement rule W5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.9.5
    • Fix Version/s: None
    • Component/s: GUI: Text handling
    • Labels:
      None
    • Environment:
      Ubuntu 18.04
    • Platform/s:
      Linux/X11

      Description

      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

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes