support for non-ASCII chars in LDIF file?

Suggestions, wishes, feedbacks

Moderator: Support

support for non-ASCII chars in LDIF file?

Postby vsignore » Thu May 18, 2006 6:23 pm

I've created an LDIF file that contains Chinese chars. I've saved the file in UTF8 and made sure there was no "junk" in the header (from Notepad). When I attempt to import this file, the Softerra Client shows "Document Type: unknown". Any idea why? Does this product not support LDIF files with non-ASCII chars? My other LDIF files work fine. Thanks.


dn: uid=泺基結,OU=Users,OU=W5DomSVT,OU=Lotus,O=Software Group,DC=westford5,DC=notesdev,DC=ibm,DC=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: 泺基結
sn: 泺
givenName: 基結
department: LWP
employeeNumber: TC0001
uid: TC0001
userPassword: password
telephoneNumber: 978-399-2342
jpegPhoto:< file///c:\temp\photos\ed.jpg
title: Test User
postalAddress: 5 Technology Park Drive$Westford$MA$01886$US
Posts: 1
Joined: Thu May 18, 2006 6:16 pm

Postby Support » Fri May 19, 2006 8:17 am

LDIF files cannot contain any non-ASCII chars (see RFC 2849 for details). If some non-ASCII symbols have to be used, they should be encoded in UTF8. In the example you've provided the symbols don't have the required encoding.
Posts: 895
Joined: Sun Aug 12, 2001 12:00 am

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests