Hi

On Wed, Apr 26, 2017 at 11:14 AM, Prashanth Chandra
<coolshant...@gmail.com> wrote:
> Correction in my last email.
>
> dmenu_run works when I do `LANG="en_US.UTF-8" dmenu_run`.

$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

When I run dmenu (git tip) I don't have any issues.
$ ./dmenu_run

When I run dmenu_run with an unsupported locale, the following happens.

$ locale -a
C
en_US.utf8
POSIX


$ LANG="en_HK.UTF-8" ./dmenu_run
$ warning: no locale support

Meaning I get a warning but everything works nonetheless.

Are you sure that the dmenu menu bar is not opening for you?

I had a quick grep through the code and we are not using wchar_t or
one of the mb*/wc* functions once. IIRC, the locale should not make a
difference in that case.


Cheers,

Silvan

Reply via email to