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

Re: Rejected NLS in DN



On tir, 2004-04-13 at 09:36, Dieter Kluenter wrote:
> >
> > I'm trying to insert an entry with Norwegian national characters in the
> > DN. This is rejected by the server. I thought national languages were
> > supported through UTF-8. Below is the sys-message from the server:
> > --------------
> > Apr 12 20:45:43 shamash slapadd: bdb_initialize: Sleepycat Software: \
> > Berkeley DB 4.1.25: (September 23, 2003)
> > Apr 12 20:45:43 shamash slapadd: str2entry: entry -1 has invalid DN \
> > "cn=Jørgen Åstad,dc=alg,dc=plainjoe,dc=org"
> > ----------------
> >
> > Can I do this or do I have to rewrite the names of employees?
> 
> Your are probably not using iso-10646 fonts but latin-1, so convert
> your *.ldif file to UTF-8, see man iconv(1).

Ok, I've changed my Language-settings to use UTF-8 on my server.
Entering the norwegian characters now works fine. So why do the complete
string for 'cn' display completely garbled when I do ldapsearch ? 

Kjell-Einar