[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Special character

On Thursday, December 23, 2004, at 01:43 PM, Dieter Kluenter wrote:
Gustavo Rios <vieira.rios@gmail.com> writes:
In my native language, we have special requirements related to
accents. How my i politely "suggest" slapadd to accept a ldif like

dn: dc=fesv,dc=br
objectClass: dcObject
objectClass: organization
dc: fesv
o: Faculdade Estácio de Sá / Vitória
description: FESV Directory
convert your ldif file to UTF-8,iconv(1) might be of help.

That's nice, I don't think I ever noticed iconv before.

For slapadd from LDIF, seems to me it may also be necessary to
BASE64 encode the value, as in

   o:: RmFjdWxkYWRlIEVzdMOhY2lvIGRlIFPDoSAvIFZpdMOzcmlh

(note extra colon.)  Applications will get the decoded value -
so they don't need to understand BASE64, only UTF-8.

	Donn Cave, donn@u.washington.edu