anish patil wrote:
I am using ldapadd utility which is provided by openladap itself. For that purpose i have created idif file but if i ran file command its output shows that it encoding is different.
<op> $ file test.ldif test.ldif: Non-ISO extended-ASCII text </op>
This doesn't say much. UTF-8 would be also the same. Consider trying it with a decent GUI LDAP client.
But due to other reason i do not want to change the encoding of the system.
You don't have to. You just have to transcode the data to UTF-8 when generating the LDIF.
Ciao, Michael.