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

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

              Created:
              Updated:
              Resolved:
              CHK: