thanks for answers, but is it not a good idea to include a content-type and content-encoding-header in the qmail-reply programm? i test it with the following in qmail-reply.c (line 217..):
write(pi[1], subject.s, subject.len); write(pi[1], "Content-Type: ", 14); /* Insert Content-Type */ write(pi[1], "text/plain; charset=ISO-8859-1; format=flowed ", 46); /* Insert Content-Type */ write(pi[1], "\nContent-Transfer-Encoding: ", 28); /* Insert Content-Transfer-Encoding */ write(pi[1], "quoted-printable", 16); /* Insert Content-Transfer-Encoding */ write(pi[1], "\n", 1); write(pi[1], "\n", 1); and then insert the ldap-value for mailreplytext as "quoted printable" (� -> =E4 ...) so there is a simple wrapper to write for coding the ldap-value before inserting and thats all. seems that this solutions works very well. another solution without any changes in the ldap-value is in our case to set the content type to "unicode-1-1-utf-8". that solution works with all email-clients (mozilla, macosx-mail, outlook) but not with our webmail (twig). any other suggestions? are there any plans to include something like that in further qmail-ldap-patches? thanks und bye robert > -----Urspr�ngliche Nachricht----- > Von: Claudio Jeker [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 2. August 2002 00:24 > An: '[EMAIL PROTECTED]' > Betreff: Re: how to use german-umlaut in mailreplytext? > > > On Thu, Aug 01, 2002 at 06:47:57PM +0200, Kurz, Robert wrote: > > hello, > > > > i use qmail with qmail-ldap-1.03-20020501a.patch and > openldap-2.0.23. > > > > everything works fine, except that if i want to include > german-umlauts in > > mailreplytext: > > > > the text i put in "mailreplytext" is "test ���", and if i > look at the field > > with any ldap-browser, it looks fine (shows me: > "mailReplyText: test ���"). > > > > but the reply-mail contains "test öüä" and a lookup with > > qmail-ldaplookup -m user shows > > > > qldap_lookup: succeeded, found: > > uid: user > > ... > > deliveryMode: localdelivery > > reply > > mailReplyText: test öüä > > > > > > does anybody know, what to do? > > > Umlauts and other non ASCII chars are not correctly supported. > There are 2 problems to solve: > 1. ldap encoding (for qmail-ldap all ldap fields are ascii encoded and > need no special handling) > 2. mail encoding (allmost all operating systems use different > encodings so > mails need a correct Content-Type header field and a correctly encoded > mail) > > At the moment I know that for 1 the ldap docu could help and > for porblem 2 > a new reply program needs to be written and a few rfc need to read. > > -- > :wq Claudio > > Dieser Service wird Ihnen von der DGN-Service GmbH bereitgestellt! >
