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

Created by  dshaligram  on November 20, 2007
3DMAYDA3C6SBPOEOLKV33FNEUTXV43BHQFXBZIJ6CT5P4QFZJT5QC
Change contents