summaryrefslogtreecommitdiffstats
path: root/crawl-ref/INSTALL
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-20 13:36:42 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-20 13:36:42 +0000
commitcbaaa32d55fd87eba6882c581db2ac32ef88c3f9 (patch)
treec7c89aca11947cf477953eb5138a0b476975c364 /crawl-ref/INSTALL
parente3e729a0259c4c89296ac368556563ca096cd3e9 (diff)
downloadcrawl-ref-cbaaa32d55fd87eba6882c581db2ac32ef88c3f9.tar.gz
crawl-ref-cbaaa32d55fd87eba6882c581db2ac32ef88c3f9.zip
Allow UNICODE_LOCALE=. in makefile.unix to specify a setlocale(LC_ALL,"") call instead of forcing a specific locale (adapted from Guus' Debian patch). Also fixed some makefile.unix checks to strip variables that are prone to trailing spaces.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2885 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/INSTALL')
-rw-r--r--crawl-ref/INSTALL13
1 files changed, 12 insertions, 1 deletions
diff --git a/crawl-ref/INSTALL b/crawl-ref/INSTALL
index 4a4ca0c082..5a266f271a 100644
--- a/crawl-ref/INSTALL
+++ b/crawl-ref/INSTALL
@@ -361,7 +361,18 @@ not UTF-8, you can force it to UTF-8 on most systems by doing "export
LC_ALL=en_US.UTF-8" or the equivalent, depending on your language
locale and what shell you're using.
+Crawl tries to use en_US.UTF-8 as its default Unicode locale. If you
+do not have this locale installed, but do have some other UTF-8 locale,
+you can tell Crawl to use your preferred UTF-8 locale by setting
+UNICODE_LOCALE = ${foo}.UTF-8 in makefile.unix, where ${foo} is your
+locale name.
+
+You may not want to embed the locale in Crawl itself, but have Crawl
+use the locale as set in the environment LC_* variables. In such
+cases, you can use UNICODE_LOCALE = . in makefile.unix. Crawl will
+then use the locale as set in your environment.
+
If you're playing Crawl on a remote machine, the remote Crawl should be
built with Unicode support, it needs to have a UTF-8 locale installed,
*and* your local terminal (where you're running telnet/ssh) needs to be
-able to decode UTF-8.
+able to decode UTF-8. \ No newline at end of file