How can I switch the text direction in kate and kwrite editors?
I have English & Persian layouts and want to read the Persian text as right to left but I can't seem to be able to switch the text direction.
Try Right Ctrl+Right Shift for RTL and Left Ctrl+Left Shift for LTR.
Unicode (UTF-8) has a special character called the https://en.wikipedia.org/wiki/Right-to-left_mark. Try removing all occurrences of it from your document using the Replace function (Ctrl-R).
Replace: (leave empty)
Mode: Escape sequences
While you are at it, try removing all eventual occurrences of https://en.wikipedia.org/wiki/Left-to-right_mark in the same way.