This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-goldedplus/bin/golded

7 lines
269 B
Plaintext
Raw Normal View History

#!/bin/sh
# run this file to launch GoldEd
# it also contains workaround for Russian language in UTF-8 encoding
echo "$LC_ALL $LC_CTYPE $LANG" | grep -q "ru_RU.UTF-8" \
&& (export LC_ALL="ru_RU.KOI8-R"; exec luit -x -encoding koi8-r -- gedlnx $*) \
|| exec gedlnx $*