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
- Change your language to a right-to-left one, for example Arabic (first right-to-left language in language list)
- Use the following command
/tellraw @a ["",{"text":"في يوم من الأيام ، كان ","color":"gray"},{"text":"ناصر قيمر ","color":"dark_green","bold":true},{"text":"يلعب ماب باركور","color":"gray","bold":false}]
2017-05-09, 02:48 PM
2020-06-24, 05:20 PM
2020-06-24, 05:20 PM
8
4
chat, formatting-codes, language, right-to-left
-