added bin/golded - script for launching GoldEd in UTF-8 environment

This commit is contained in:
Gremlin from Kremlin 2009-04-04 10:37:52 +00:00
parent 5d1ed88a16
commit 1731069855

6
bin/golded Normal file
View File

@ -0,0 +1,6 @@
#!/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 -encoding koi8-r -- gedlnx $*) \
|| exec gedlnx $*