Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Phil's prompt is not working when LANG is set to UTF-8

On Mon, Feb 11, 2008 at 02:07:07PM +0000, Peter Stephenson <pws@xxxxxxx> wrote:
> Wael Nasreddine wrote:
> > Thank you for your reply, but, set/unsetting multibyte opt has no
> > effect but as said before when LANG is set to utf8 it doesn't work,
> > for now I use LANG=en_US (iso-8859-1) it does work this way though I
> > don't want to stick with this encoding, anyway here's some more
> > info for you.

> This is probably the key information: it suggests, unless you happen to
> know otherwise, that the console simply doesn't support UTF-8 in its
> current configuration.

> There are two ingredients to being able to use an encoding:  the
> hardware is set up to display characters using it, and the software has
> been told about it.  LANG etc. deal with the latter, but have no effect
> on the former.  Smart terminal emulators will try to find the encoding
> when they start up.  You don't really have this option with a console.
> My system (Fedora 8) has a unicode_start command; have you tried that?

I tried both unicode_start and manually, I tried this whole HOWTO[1]
as well without any change :( does it work on your PC using the same
prompt and LANG, LC_ALL are utf8??

[1]: http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8

Wael Nasreddine
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.

Attachment: pgpdXfzG3ndHF.pgp
Description: PGP signature

Messages sorted by: Reverse Date, Date, Thread, Author