You are not logged in.

#1 2021-05-22 17:51:13

disdaarchacc
Member
Registered: 2021-02-28
Posts: 4

[UTF-8] persian inputs get mirrored

hey y'all.
i have a minimal openbox setup. i've set the default persian(farsi) font so it shows the characters just fine(no gibberish) but as i type persian in urxvt or dmenu, the output gets mirrored and seperated. like these:

hi (in persian) --> i h(with a space in-between)
سلام to م ا ل س


regards

Offline

#2 2021-05-22 19:15:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,457

Re: [UTF-8] persian inputs get mirrored

For urxvt, https://wiki.archlinux.org/title/Rxvt-u … al_support
Not sure about dmenu, but rofi supports bidirectional input.

Offline

#3 2021-05-22 19:20:53

disdaarchacc
Member
Registered: 2021-02-28
Posts: 4

Re: [UTF-8] persian inputs get mirrored

seth wrote:

For urxvt, https://wiki.archlinux.org/title/Rxvt-u … al_support
Not sure about dmenu, but rofi supports bidirectional input.

would it have sth to do with locale(/etc/locale)? in general?

regards

Last edited by disdaarchacc (2021-05-22 19:21:41)

Offline

#4 2021-05-22 19:25:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,457

Re: [UTF-8] persian inputs get mirrored

No.
You need to have *some* UTF-8 locale in order to use the utf-8 range (anything beyond ascii) but that can just as much be en_US.utf-8.

The rest is about "how does program™ treat chars/sequences from the rtl-culture™ utf-8 range" and very client specific (though the big toolkits can handle this)

Offline

Board footer

Powered by FluxBB