How to Fix Wine Encoding Issues in Ubuntu
In this short article you can find how to fix encoding issues in wine apps for Linux Mint and Ubuntu.
Wine Locale - Ubuntu
To start a wine application with different locale or keyboard layout you can prepend the wine command by LANG=bg_BG.UTF-8
.
Example of starting such application:
LANG=bg_BG.UTF-8 wine Diction.exe
Diction.exe is the wine app which will be started:
Diction.exe
Create Launcher script for Wine
To create launcher script which will start wine app with different locale you can create new .sh
file with content:
#!/bin/bash
export LANG=bg_BG.UTF-8
# export WINEPREFIX="~/.wine"
cd "~/.wine/dosdevices/c:/Program Files/SA Dictionary 2010/"
wine Diction.exe
In this script we set environmental variable by export LANG=bg_BG.UTF-8
. Then we start the application from it's folder.
Most programs will work fine by the above trick. Some programs might have problems if you try to change the locale.