From mboxrd@z Thu Jan 1 00:00:00 1970 From: grant@antiflux.org (Grant Hollingworth) Date: Tue, 15 Jan 2008 11:30:04 -0500 Subject: [sup-talk] the proper way of determining the encoding In-Reply-To: <1200190710-sup-6881@south> References: <1199569265-sup-4567@clarabella.clarabella> <1199685831-sup-2011@south> <1199695733-sup-2741@clarabella.clarabella> <1199901555-sup-2661@south> <1199925510-sup-7503@clarabella.clarabella> <1200190710-sup-6881@south> Message-ID: <1200414495-sup-4477@spooky.local> Excerpts from William Morgan's message of Sat Jan 12 21:22:58 -0500 2008: > I think I've found a better way, although it introduces yet another > dependency, to the 'gettext' gem. I'd be interested to see if this works > for you, Giorgio, and also for anyone who's running Sup under Cygwin or > OS X. This is an approach I feel a lot better about. This works on OS X (10.5.1). Your other method of using locale(1) didn't. ('locale -c LC_CTYPE' returns 'LC_CTYPE' on my machine... not very useful.)