Skip to main content
Skip table of contents

(v13) Setting the locale on Linux and macOS

This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP

This chapter provides any platform-specific information for Linux OS and macOS you may require.

Before installing and using the clrip command line application the locale may need to be configured. Open a terminal window and set the locale using:

export LANG=en_US export LC_ALL=en_US

If en_US.UTF-8 is your system's default you can use:

export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8

NOTE:   To avoid having to set the locale each time you open a terminal window, you can make the following changes:

Edit /etc/rc.d/rc.local / by adding:

TEXT
                      echo "Setting locale"
                      usr/bin/localedef -i en_US -f ISO-8859-1 en_US

Edit /etc/profile by adding the following two lines to the end of the file:

TEXT
                      export LC_ALL=en_US
                      export LANG=en_US

or, if en_US.UTF-8 is your system's default you can add:

export LANG=en_US.UTF-8

export LC_ALL=en_US.UTF-8

If the locale is set incorrectly the clrip command line application may report errors, or the process may not close after an output.

Similarly the imptool may report:

Error: Failed to build character decoding tables (check your locale settings).

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.