Describe the bug
When typing Persian (Farsi) text in the MTA chat, the text is not handled correctly as a right-to-left language. Persian and English text are displayed in the wrong order, especially when both languages are used in the same message.
For example, typing:
خوبی؟ .Azmoon سلام
may be displayed as:
سلام Azmoon. خوبی؟
This makes Persian messages difficult to read and causes incorrect text ordering.
Steps to reproduce
- Launch MTA:SA and join any server.
- Press F8 to open the console.
- Copy and paste the following sentence into the chat:
say سلام Azmoon. خوبی؟
- Send the message.
- The message is displayed incorrectly as:
سلام Azmoon. خوبی؟
The expected visual order should be:
خوبی؟ .Azmoon سلام
Version
v1.6-release-24138
Additional context
This appears to be a bidirectional text (BiDi) / right-to-left text rendering issue affecting Persian text mixed with English characters and punctuation.
Relevant log output
Security Policy
Describe the bug
When typing Persian (Farsi) text in the MTA chat, the text is not handled correctly as a right-to-left language. Persian and English text are displayed in the wrong order, especially when both languages are used in the same message.
For example, typing:
خوبی؟ .Azmoon سلامmay be displayed as:
سلام Azmoon. خوبی؟This makes Persian messages difficult to read and causes incorrect text ordering.
Steps to reproduce
say سلام Azmoon. خوبی؟سلام Azmoon. خوبی؟The expected visual order should be:
خوبی؟ .Azmoon سلامVersion
v1.6-release-24138
Additional context
This appears to be a bidirectional text (BiDi) / right-to-left text rendering issue affecting Persian text mixed with English characters and punctuation.
Relevant log output
Security Policy