nrlquaker / winbox-mac

MikroTik Winbox bundled into macOS app with Wine
MIT License
1.45k stars 147 forks source link

Russian characters display #4

Closed darkpal closed 6 years ago

darkpal commented 6 years ago

See the screenshot https://goo.gl/2hehZ1

nrlquaker commented 6 years ago

The only working solution I've found is to add LC_ALL=ru_RU.UTF-8 to .bash_profile. Or you can create wrapper/launch from CLI like this export LC_ALL=ru_RU.UTF-8 & open /Applications/Winbox-mac.app/

darkpal commented 6 years ago

I set up .bash_profile. When I run the app from terminal it's ok but when I run it from Launchpad the problem remains. Tried to create a wrapper with Platypus - the same.

nrlquaker commented 6 years ago

You are right. I've tested it only from CLI. Anyway its more like wine problem. I suggest asking on their forums.

nrlquaker commented 5 years ago

@darkpal I've found solution for you if you still need it. It seems applications in macOS don't have access to .bash_profile environment variables. But you can set them using launchctl. launchctl setenv LC_ALL ru_RU.UTF-8 should fix your issue.