For applications that are not ready to migrate to Unicode UTF-8, you can create a launcher on a panel to start the application in a non-UTF-8 locale. You can also start command line interface (CLI) applications directly from the command line.
Perform the following steps:
Right-click on the panel where you want to create the launcher.
Choose Add to Panel -> Launcher.
Use the following format to type the entry in the Command field of the Create Launcher dialog:
env LANG=locale LC_ALL=locale application-name
For example, if you want to launch an application called motif-app
from the directory /usr/dt/bin
in the Chinese Big5 locale, use the following string in the Command field:
env LANG=zh_TW.BIG5 LC_ALL=zh_TW.BIG5 /usr/dt/bin/motif-app
You might also need to specify the appropriate value for the LD_LIBRARY_PATH environment variable for the application.
Click OK to create the launcher on the panel.
Perform the following steps:
Start the Terminal
application
in the legacy locale. To open a Terminal
window
in a legacy locale, enter the following command:
env LANG=locale LC_ALL=locale gnome-terminal --disable-factory
Run the CLI application in the Terminal
window.
Alternatively, perform the following steps:
Start the Terminal
application.
To start Terminal
, click Launch,
then choose Applications -> Utilities -> Terminal.
Choose Terminal -> Set Character Encoding, then switch the locale setting from UTF-8 to a legacy locale.
Set the LANG and LC_ALL environment variables to the current shell.
Run the CLI application in the Terminal
window.