Re: [VM] Non-ASCII ISO-8859-1 characters not shown correctly

2013-01-02 Thread Yoshiharu Kohayakawa
Uday Reddy wrote (on Wednesday, 2 Jan 2013, at 09:49:10 +):
  Yoshiharu Kohayakawa writes:
  
   Because of the problem of MS email clients with windows1252
   charsets, the variable vm-fsfemacs-mule-p was set to nil in my .vm. 
  
  Glad that you have found the problem!

Many many thanks for the help!

  vm-fsfemacs-mule-p is an internal variable of VM.  Please don't change it.

OK.

  The only problem with MS email clients was that they used to incorrectly
  label windows-1252 as iso-8859-1.  But I haven't seen this problem for a
  while.  So it is likely that they fixed it.  If so, nothing special is
  needed for handling windows-1252 any more.

Very good.

   This subject line problem in Summary buffer is also fixed now.
   
   However, this fix for the Summary buffer only works for plain text
   messages.  For a message sent in rich text mode, the subject line
   shows the octal codes.
  
  It might be a problem with cached-data.  If so, typing `j'
  (`vm-discard-cached-data') should fix the problem.  

Excellent---it did solve the problem (but see below).

  There are still some
  outstanding problems with the cached-data handling, which will be fixed in
  8.2.0 release.
  
  If it is not a cached-data problem, please file a bug report with a sample
  message.

Discarding the cache fixed all subject lines but one.  This is a message in
utf-8, which I put in the file octal_subject_message at

  http://www.ime.usp.br/~yoshi/TMP/VM/

I've tried looking at this message with Emacs/VM with default settings, with
basically the same result.  The behaviour in my two emacses is a little
different, though: one of them shows octal code and the other shows the
corresponding iso-8895-1 characters.

Thanks and best, Yoshi

  Cheers,
  Uday



Re: [VM] Non-ASCII ISO-8859-1 characters not shown correctly

2013-01-02 Thread Uday Reddy
Yoshiharu Kohayakawa writes:

 Discarding the cache fixed all subject lines but one.  This is a message in
 utf-8, which I put in the file octal_subject_message at
 
   http://www.ime.usp.br/~yoshi/TMP/VM/

This message is not in correct MIME format.  Any non-ASCIi characters in the
message headers are required to be MIME-encoded.  Here, they are not.  VM's
treatment of it is therefore correct and the best possible under the
circumstances.  

Cheers,
Uday



[VM] Non-ASCII ISO-8859-1 characters not shown correctly

2012-12-31 Thread Yoshiharu Kohayakawa
I'd be very interested in learning how to fix the following problem,
related to iso-8859-1 characters not showing correctly in messages
read with VM.

When I receive a message with non-ascii characters and read it with
VM, the non-ascii characters don't show properly, and I see their
octal code.  A screen shot is available at

  http://www.ime.usp.br/~yoshi/TMP/VM

The problem happens in presentation mode with text/plain messages.

The example message of the screen shot, filed in a folder on its
own, is also at the URL above.

I'm on a Mac OS X machine, but I believe this is a problem in
GNU/Linux also.

I have this problem with VM 8.1.2 running on both

  GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of
2012-08-27 on bob.porkrind.org

and

 GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2011-10-25 on braeburn.aquamacs.org - Aquamacs Distribution 2.4

I don't have this problem with VM 7.19 running on

  GNU Emacs 21.2.2 (i686-pc-linux-gnu, X toolkit) of 2006-05-09 on
galena.ime.usp.br

If I cut and paste the message into a new plain text file and save
it with the latin-1 coding system, then when I visit the file I can
see the characters correctly (such a file is at the URL above also).

One more thing: non-ascii characters are also shown in octal in my
summary buffers, when they are in the subject line of the messages.

I'd really love to know how to solve this.  

Many thank in advance!

Yoshi

--
Yoshiharu Kohayakawa