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
- X-seq: zsh-users 12543
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Phil's prompt is not working when LANG is set to UTF-8
- Date: Mon, 11 Feb 2008 14:07:07 +0000
- In-reply-to: <20080211133743.GA28384@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080211033116.GD19613@xxxxxxxxxxxxxxxxxxxxxxx> <237967ef0802102301i71dcd71erb1a2993a7f0bd643@xxxxxxxxxxxxxx> <20080211092021.GC6965@xxxxxxxxxxxxxxxxxxxxxxx> <20080211130707.7d45f6af@news01> <20080211133743.GA28384@xxxxxxxxxxxxxxxxxxxxxxx>
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?
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author