Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 110 of 806  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  1088   Fri Apr 15 15:25:30 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.8-3Re: MIME encoding of mail?
So you tell me that the message body is ok with Norwegian characters, it's only the subject?
That would mean that outlook interpretes the charset only for the message body, but not for
the subject. So if you have characters with an ASCII value greater than 127, your mail
program requires to enclose it into

=?<charset>?B?+<text>?=

Do you know that the "B" is for? I would not like to "blindly" do whatever Mutt does, I
would like to understand it. If someone can point me to a document which describes this
properly, I could implement it.
  1089   Fri Apr 15 15:57:53 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.8-3Re: MIME encoding of mail?
Ok, I found it. It's in RFC2047 at

http://www.faqs.org/rfcs/rfc2047.html

I will try to implement it.
  1090   Fri Apr 15 21:10:27 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.8-3Re: MIME encoding of mail?
I implemented this, but found some problems. If I encode the subject like

Subject: =?ISO-8859-1?Q?ורז?=

it displays well unde MS Outlook, but not under Mozilla Thunderbird or pine,
which both display the full text (including the ISO...). So it looks like
there is no single solution which satisfies all mail programs. It should at
least work for Outlook and Thunderbird, so if anyone has an idea please let me
know.
  1091   Fri Apr 15 21:14:05 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.6-1Re: MIME encoding of mail?
> Subject: Testing ורז
> 
> Becomes
> Subject: IKT sak =?UNKNOWN?B?KDYwKTo=?= Testing =?UNKNOWN?B?5fjm?=
> 
> config:
> Use Email Subject = IKT sak ($message id): $Tittel

You could put the encoding there manually:

Use Email Subject = =?ISO-8859-1?Q?IKT sak ($message id): $Tittel?=

would this work?
  1092   Fri Apr 15 21:31:26 2005 Reply Michael Husbynmichaelh@online.noQuestionLinux2.5.8-3Re: MIME encoding of mail?
> I implemented this, but found some problems. If I encode the subject like
> 
> Subject: =?ISO-8859-1?Q?ורז?=
> 
> it displays well unde MS Outlook, but not under Mozilla Thunderbird or pine,
> which both display the full text (including the ISO...). So it looks like
> there is no single solution which satisfies all mail programs. It should at
> least work for Outlook and Thunderbird, so if anyone has an idea please let me
> know.

If I read the RFC correctly when you use B encoding you are using BASE64 encoding.
Maybe that could be a solution?

Best regards
Michael
  1093   Fri Apr 15 21:49:00 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.8-3Re: MIME encoding of mail?
> If I read the RFC correctly when you use B encoding you are using BASE64 encoding.
> Maybe that could be a solution?

Indeed it is. Works for all email programs I know. So I added that to elog, new
version is committed to CVS. Let me know if it works for you.
  1094   Fri Apr 15 22:24:49 2005 Reply Michael Husbynmichaelh@online.noQuestionLinux2.5.8-3Re: MIME encoding of mail?
> > If I read the RFC correctly when you use B encoding you are using BASE64 encoding.
> > Maybe that could be a solution?
> 
> Indeed it is. Works for all email programs I know. So I added that to elog, new
> version is committed to CVS. Let me know if it works for you.


Stefan! You are *THE MAN* :)

It works :)

You are indeed "speedy gonzales" ;)

Thank you very much!


Best regards
Michael 'very impressed' Husbyn
  1095   Fri Apr 15 22:26:06 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.5.8-2Re: logbook clone
> When I create a new logbook (I used an existing one as a template) elog  
> does not works anymore...  

Fixed in CVS.
ELOG V3.1.5-3fb85fa6