delet[] char * does the job. The returned  string is always  null terminated

Aniruddha

-----Original Message-----
From: Aditya Bhasin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 6:17 PM
To: [EMAIL PROTECTED]
Subject: xerces and trancoding


Hi,

char * DOMString::transcode (  ) const

   Returns a copy of the string, transcoded to the local code page.

The caller owns the (char *) string that is returned, and is responsible for
deleting it.



Question - without the lenght how does one handle cases where the returned
sting is in a charset which has embedded nulls. Is one expected to use the
length() method to get this value. Is the lenght which is returned that
after transcoding?

thanks,

aditya




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to