char *utf8;
const char *utf8;
extern "C" PRBool nlsUnicodeToUTF8(unsigned char * inBuf, unsigned int inBufBytes,							unsigned char * outBuf, unsigned int maxOutBufLen,							unsigned int * outBufLen){	char *utf8;	PRBool ret = PR_TRUE;		utf8 = NS_ConvertUCS2toUTF8((PRUnichar*)inBuf, inBufBytes/2);	*outBufLen = PL_strlen(utf8);	if (*outBufLen+1 > maxOutBufLen) {		ret = PR_FALSE;		goto loser;	}	memcpy(outBuf, utf8, *outBufLen+1);	loser:	return ret;}