Re: utf problem with mutt

2006-05-26 Thread CJ van den Berg
On Tue, May 23, 2006 at 10:40:11AM +0200, Bruno Boettcher wrote:
> Hello!
> 
> since i passed onto a amd64 machine i noticed that the basic charset
> used is utf8
> 
> but mutt displays that in hex codes, with a \ prepended...
> 
> reading french and german mails in the great majority, this isn't very
> practical...
> 
> is there a solution to this?

They're probably emails from broken MUAs that don't set the charset e-mail
headers properly. Now that you are using utf-8 mutt's default "I don't know
what charset this email is actually written in" charset is also utf-8. If
you are mostly reading French and German emails then these broken MUAs are
probably actually sending in iso-8859-1.

Try adding these two lines to your ~/.muttrc file to tell mutt to assume
iso-8859-1 for broken emails:

set strict_mime=no
set assumed_charset="iso-8859-1:utf-8:us-ascii"

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: utf problem with mutt

2006-05-24 Thread Jon Dowland
[pushing the discussion back on-list]

At 1148408048 past the epoch, Bruno Boettcher wrote:
> On Tue, May 23, 2006 at 04:06:57PM +0100, Jon Dowland
> wrote:
> > I do have some issues, however, using this underneath a
> > screen session.
>
> ehm i am exactly under a screen session since i migrate
> quite often... i tryed in a regular term and indeed
> there's no problem

Try passing the '-U' option to screen, that enables "UTF-8
mode". I haven't managed to fix problems doing this but you
may have more luck.

> is there an easy way to retrieve the vpackage version
> number?

dpkg -l 

> > > BTW at each update my default editor is changed to
> > > that horrible nano instead of the normal vim, any way
> > > to stop this?
> > 
> > Yes: change the priority of the vim alternative for
> > "editor" to something very low. see man 8
> > update-alternatives.
>
> ok

-- 
Jon Dowland
http://alcopop.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: utf problem with mutt

2006-05-24 Thread Jon Dowland
At 1148378437 past the epoch, Andrew Sackville-West wrote:
> edit the link in /etc/alternatives so that editor points to vim
> instead of nano.

That'll still get zapped on upgrade if nano carries a lower priority
(which it seems to).

-- 
Jon Dowland
http://alcopop.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: utf problem with mutt

2006-05-24 Thread Christopher Nelson
On Tue, May 23, 2006 at 01:26:13PM +0200, Florian Kulzer wrote:
> On Tue, May 23, 2006 at 10:40:11 +0200, Bruno Boettcher wrote:
> 
> [...]
> 
> > BTW at each update my default editor is changed to that horrible nano
> > instead of the normal vim, any way to stop this?
> 
> I did not yet have time to figure out why every vim upgrade now
> redirects /etc/alternatives/editor to something other than vim,
> therefore I just put
> 
> set editor="/usr/bin/vim"
> 
> in my ~/.muttrc file. That settles it at least as far as mutt is
> concerned.

That works.  The vim 7.0-017+4 changelog mentioned changes to the
alternatives handling, saying it should only be removed on removes, not
upgrades.

-- 
Christopher Nelson -- [EMAIL PROTECTED]
---
I'm continually AMAZED at th'breathtaking effects of WIND EROSION!!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: utf problem with mutt

2006-05-23 Thread Andrew Sackville-West
On Tue, May 23, 2006 at 10:40:11AM +0200, Bruno Boettcher wrote:

[...]
> 
> BTW at each update my default editor is changed to that horrible nano
> instead of the normal vim, any way to stop this?
> 

edit the link in /etc/alternatives so that editor points to vim
instead of nano.

A


signature.asc
Description: Digital signature


Re: utf problem with mutt

2006-05-23 Thread Jon Dowland
At 1148380811 past the epoch, Bruno Boettcher wrote:
> since i passed onto a amd64 machine i noticed that the
> basic charset used is utf8
> 
> but mutt displays that in hex codes, with a \ prepended...
> 
> is there a solution to this?

Well it doesn't happen to me with LANG=en_GB.UTF-8, locales
2.3.2.ds1-22sarge3 and mutt 1.5.9-2sarge1. I do have some
issues, however, using this underneath a screen session.

What package versions do you have?

> BTW at each update my default editor is changed to that
> horrible nano instead of the normal vim, any way to stop
> this?

Yes: change the priority of the vim alternative for "editor"
to something very low. see man 8 update-alternatives.


-- 
Jon Dowland
http://alcopop.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: utf problem with mutt

2006-05-23 Thread Florian Kulzer
On Tue, May 23, 2006 at 10:40:11 +0200, Bruno Boettcher wrote:

[...]

> BTW at each update my default editor is changed to that horrible nano
> instead of the normal vim, any way to stop this?

I did not yet have time to figure out why every vim upgrade now
redirects /etc/alternatives/editor to something other than vim,
therefore I just put

set editor="/usr/bin/vim"

in my ~/.muttrc file. That settles it at least as far as mutt is
concerned.

-- 
Regards,
  Florian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]