svn commit: samba r19803 - in branches/SAMBA_3_0/source/rpc_server: .

simo idra at samba.org
Mon Nov 20 15:08:43 GMT 2006


On Mon, 2006-11-20 at 15:50 +0100, Volker Lendecke wrote:
> On Mon, Nov 20, 2006 at 09:35:05AM -0500, simo wrote:
> > Not sure value may contain UTF8 strings or if the maxlen is just an
> > indication or have to be the exact length value. But in that case this
> > maybe led to a bigger value then the real string length in UTF16
> 
> This is about the name's length, not the value length. And
> the name is _always_ UTF16.

I explained myself badly, what I was saying is that (UTF16 length =
(UTF8  length) * 2) is not true unless the string is guaranteed to be
ASCII.

>From your answer I guess the name string is always just ASCII.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list