Using Non-ASCII standard characters in an LDIF file

(Last modified: 18Feb2003)

This document (10058674) is provided subject to the disclaimer at the end of this document.

goal

Using Non-ASCII standard characters in an LDIF file

fact

Customer would like to use non-standard characters such as Japanese/Chinese/Arabic/Swedish et al.

Customer is using Bulkloader OR ICE

symptom

Bulkloader/ICE does not interpret the characters

cause

LDIF standard  (RFC 2849 http://www.ietf.org/rfc/rfc2849.txt) only uses Standard ASCII characters in LDIF files.

fix

 You will need to use Base 64 encoding inside of the LDIF file. Please note when using base 64 encoding, your attribute will have to be followed by two colons, ie sn:: . If you do not put in the two colons then the interpreter (ie bulkload/ICE) will not recognize it as being Base64 encoded. Novell's LDAP Developer Guide (ISBN 0-7645-4720-8) goes into greater detail on LDIF and Base64 encoding. To go into the mechanics of it is beyond the scope of this solution.

document

Document Title: Using Non-ASCII standard characters in an LDIF file
Document ID: 10058674
Solution ID: NOVL33498
Creation Date: 23Nov2000
Modified Date: 18Feb2003
Novell Product Class:NetWare
Novell eDirectory

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.