VM

problem displaying text/html using lynx

Bug #868559 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Triaged
Medium
Julian Bradfield

Bug Description

Damien (dwetzel) reports on viewmail-bugs, 2011-10-05

hello,
i can't display multipart MIME content properly :
"""
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----=_NextPart_000_00F2_01CC835A.30726380"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AcyDSWu9iPgG0m6STeiJZQueYX+ipQ==
Content-Language: fr
Subject: Intro Via France - Atanar
Date: Wed, 5 Oct 2011 12:27:45 +0200

   Salut Damien,

   Je te présente XXXXXX, fondateur de la société ViaFrance
   qui plus qu’un client est aussi un bon pote.

   Est-ce que tu peux faire un bon prix sur du Edgecast et sans doute
   Cotendo dans un 2eme temps à l’usage.

   Le trafic est pas énorme car ce sera du débordement.

   Ca serait bien si nous pouvions démarrer semaine prochaine.
""

what is strange is that i don't have this bug within xemacs.
all other content-type all well displayed.
Damien,

Revision history for this message
Uday Reddy (reddyuday) wrote :
Revision history for this message
Uday Reddy (reddyuday) wrote :

It has a mutlipart/alternative with a text/plain part and text/html part.
My guess is that you are viewing the text/html part, using lynx to convert
it.

Can you try it with vm-mime-text/html-handler set to nil?

-----

hello uday,
it worked setting vm-mime-text/html-handler to nil

thanks a lot :)
Damien,

Revision history for this message
Uday Reddy (reddyuday) wrote :

It looks like VM received the utf-8 output from Lynx and inserted it into the Presentation buffer without conversion.

Is this another instance of the buffer-file-coding-system problem? Check the function vm-mime-display-internal-lynx-text/html and its cousins, which do shell-command-on-region.

Changed in vm:
assignee: nobody → Julian Bradfield (jcb+vm)
Revision history for this message
Uday Reddy (reddyuday) wrote :

Julian, you can probably help us with this bug?

Revision history for this message
Julian Bradfield (jcb+vm) wrote : [Bug 868559] Re: problem displaying text/html using lynx

Try
(setq process-coding-system-alist
      (cons '("lynx" . utf-8) process-coding-system-alist))

Uday Reddy (reddyuday)
Changed in vm:
status: New → Triaged
milestone: none → 8.2.1a
Revision history for this message
Uday Reddy (reddyuday) wrote :

Damien, are you still there? Have you tried Julian's recommended setting?

Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.1a → 8.3.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.