PIDL and arrays of ascii string

Matthieu Patou mat+Informatique.Samba at matws.net
Mon Feb 15 01:02:29 MST 2010


Dear all,

I have the impression that the string_array type in PIDL is able to 
handle only utf-16 strings as it is the default type from 
ndr_push/pull_string.
Trying to add STR_ASCII flag to the object definition didn't work as 
ndr_pull_string_array (in s4 at least) expect to have only 
LIBNDR_FLAG_STR_NULLTERM
  or LIBNDR_FLAG_STR_NOTERM as string flag for the object.

My question: is there a reason not to handle utf-8 and ascii string as 
well ?

Matthieu



More information about the samba-technical mailing list