mojira.dev
MC-117193

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

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}]

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media][media][media][media]
marcono1234

The letters not being connected is MC-35765, please change the report to be only about the "r" in front of the message which appears for other right-to-left languages as well

marcono1234

Can you please add the exact command you use as well?

migrated

/tellraw @a ["",{"text":"في يوم من الأيام ، كان ","color":"gray"},{"text":"ناصر قيمر ","color":"dark_green","bold":true},{"text":"يلعب ماب باركور","color":"gray","bold":false}]

here you go ( i used a tellraw generator )

marcono1234

Thank you for providing the command. I am going to edit the report a little bit, I hope you are fine with that.

Could be related to MC-100866 and definitely related to MC-57869

migrated

marcono1234 : nice , this is a lot better

migrated

Confirmed for 1.13.1.

migrated

confirmed for 18w49a

 

migrated

this issue is no longer present in 1.16 rc-1

marcono1234

Closing as "Cannot Reproduce" then

migrated

(Unassigned)

Confirmed

(Unassigned)

chat, formatting-codes, language, right-to-left

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

Retrieved