diff src/pst2ldif.cpp @ 160:252ad66d3d6e stable-0-6-32

fix ppc64 compile error
author Carl Byington <carl@five-ten-sg.com>
date Sat, 14 Mar 2009 17:45:48 -0700
parents cda7c812ec01
children 6954d315aaa8
line wrap: on
line diff
--- a/src/pst2ldif.cpp	Sat Mar 14 17:23:39 2009 -0700
+++ b/src/pst2ldif.cpp	Sat Mar 14 17:45:48 2009 -0700
@@ -174,7 +174,8 @@
                     if (cn[0] != 0) {
                         // have a valid cn
                         pst_string ucn;
-                        ucn.str = (char*)unique_string(cn);
+                        ucn.str     = (char*)unique_string(cn);
+                        ucn.is_utf8 = 1;    // all the components are already utf8
 
                         print_ldif_dn("dn", ucn, ldap_base);
                         print_ldif_single("cn", ucn);