Ä saved my test.txt(mailReplyText:< file:///test.txt) utf-8 encoded and retried. This time, i successfully modified ldap(mailReplyText:: 77u/dGVzdMWf) but what i receive form xxx user is:
ÃÂÂtestÃÅ so, now i must add an utf-8 encoding header to all autoreply mails. I've read we can use %HEADER% special key for that kind of problems. I've updated my test.txt like %HEADER% Content-Transfer-Encoding: "UTF8\n" ***Non us-ascii reply text*** But now, i received a reply mail in which %HEADER% magic word isn't interpreted. Thanks for your attention -----Original Message----- From: Claudio Jeker [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 10:18 AM To: [email protected] Subject: Re: ldap national characters problem On Thu, Apr 07, 2005 at 09:58:44AM +0300, Murat M??d?so?lu wrote: > Hi, > I've scanned all the archive and read almost any discusion made on this > subject but i can't still solve my problem. > > I can't insert iso8859-9 characters into ldap's mailreplytext attribute. > Here's what i've tried: > > 1)i wrote the text in iso8859-9 in a file(test.txt) > ? created a ldiff file like this: > cat modify.ldiff > dn: uid=xxx, ou=xxxx, o=mail, dc=x, dc=xxx > changetype: modify > replace: mailReplyText > mailReplyText:< file:///test.txt > > and i get: > > modifying entry "uid=xxx, ou= xxxx, o=mail, dc=x, dc=xxx" > ldap_modify: Invalid syntax > additional info: mailReplyText: value #0 invalid per syntax > > ldif_record() = 21 > > > 2) i wrote a php script who can convert a string to it's base64 form and > modifed my ldiff file like: > > dn: uid=xxx, ou=xxxx, o=mail, dc=x, dc=xxx > changetype: modify > replace: mailReplyText > mailReplyText:: /mnwaf4= > when i run ldapmodify, i get the same error as 1). > > 3) i tried basicly writing my non-us-ascii char into my ldiff, and i got the > same error. > > > Can anybody show me the light? LDAP values need to be UTF-8 encoded. -- :wq Claudio Bu e-posta mesaji ve ekleri sadece gonderildigi kisi veya kuruma ozeldir. Eger dogru kisiye ulasmadigini dusunuyorsaniz, bu mesajin yonlendirilmesi, kopyalanmasi veya herhangi bir sekilde kullanilmasi yasaktir.Mesaj iceriginde bulunan fikir ve yorumlar, SUPERONLINE'a degil sadece gondericiye aittir. Bu mesaj bilinen tum viruslere karsi test edilmistir. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, copying or use of the information is prohibited. The opinions expressed in this message belong to sender alone. There is no implied endorsement by SUPERONLINE.This e-mail has been scanned for all known computer viruses.
