Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-117193

Text formatting not working correctly for right-to-left text in right-to-left language

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 1.11.2, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.13.1, Minecraft 18w49a, 1.15.1, 1.15.2 Pre-release 2
    • Confirmed
    • (Unassigned)

      The bug

      Text formatting is not working correctly for right-to-left text in right-to-left languages. The position of the formatting character is reversed breaking the formatting. Additionally a "r" appears in front of the text which is likely used to reset the formatting but the formatting character for it appears to be placed incorrectly as well.

      How to reproduce

      1. Change your language to a right-to-left one, for example Arabic (first right-to-left language in language list)
      2. Use the following command
        /tellraw @a ["",{"text":"في يوم من الأيام ، كان ","color":"gray"},{"text":"ناصر قيمر ","color":"dark_green","bold":true},{"text":"يلعب ماب باركور","color":"gray","bold":false}]
        

        1. 2017-05-09_14.37.53.png
          36 kB
          omkhamsa
        2. 2017-05-09_14.40.05.png
          38 kB
          omkhamsa
        3. 2017-05-12_23-48-24.png
          61 kB
          omkhamsa
        4. 2017-05-12_23-52-32.png
          109 kB
          omkhamsa
        5. 2017-05-12_23-54-56.png
          140 kB
          omkhamsa
        6. 2017-05-12_23-57-37.png
          261 kB
          omkhamsa
        7. 2017-05-12_23-59-18.png
          343 kB
          omkhamsa
        8. 2017-05-13_00-06-21.png
          360 kB
          omkhamsa
        9. 2017-05-13_00-08-33.png
          445 kB
          omkhamsa
        10. 2017-05-13_00-13-56.png
          363 kB
          omkhamsa
        11. 2017-05-13_00-17-29.png
          356 kB
          omkhamsa
        12. 2017-05-13_00-20-52.png
          435 kB
          omkhamsa

            Unassigned Unassigned
            omkhamsa omkhamsa
            Votes:
            8 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: