Skip to main content
Skip table of contents

Setting the locale (Linux and macOS)

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


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:



BASH
export LANG=en_US
export LC_ALL=en_US



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



BASH
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:

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


Alternatively, edit /etc/profile by adding the following two lines to the end of the file:

BASH
export LC_ALL=en_US
export LANG=en_US

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

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

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

Similarly the import tool 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.