vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] problem with 'wide characters' (utf-8) under macosx


From: j. van den hoff
Subject: Re: [vile] problem with 'wide characters' (utf-8) under macosx
Date: Sat, 06 Dec 2014 22:03:05 +0100
User-agent: Opera Mail/12.12 (MacIntel)

On Sat, 06 Dec 2014 18:46:06 +0100, Thomas Dickey <address@hidden> wrote:

In its preferences ("Advanced" tab), I have
        Character encoding: Unicode (UTF-8)
        Set locale environment variables on startup

this is essentially off-list, but in case someone is interested:

I just have googled this a bit: actually there are quite some reports on the web regarding problems with LC_CTYPE and Terminal.app. the usual recommendation seems to _unset_ `set locale environment variables on startup' but if I do this I end up with a LC_ALL=C locale.

I now found a solution to enforce the desired LC_CTYPE value:

1.) unset `set locale envir' in the `Advanced' tab
2.) in the `shell' tab check 'run command' and fill in `export LC_CTYPE=de_DE.UTF-8' as the command

(for bash, zsh, ksh at least: for tcsh the corresponding setenv command probably will work as well).

this just executes the `export' command immediately after the shell starts up so that the locale then is sanitized.

--
Using Opera's revolutionary email client: http://www.opera.com/mail/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]