rv = rdfService->GetLiteral(NS_ConvertUTF8toUCS2(charstr).GetUnicode(), getter_AddRefs(value));
rv = rdfService->GetLiteral(NS_ConvertUTF8toUCS2(charstr).get(), getter_AddRefs(value));
nsresult createNode(const char* charstr, nsIRDFNode **node, nsIRDFService *rdfService){  nsresult rv = NS_ERROR_OUT_OF_MEMORY;  // use nsString to convert to unicode	if (!rdfService) return NS_ERROR_NULL_POINTER;  	nsCOMPtr<nsIRDFLiteral> value;  nsAutoString str; str.AssignWithConversion(charstr);  rv = rdfService->GetLiteral(NS_ConvertUTF8toUCS2(charstr).GetUnicode(), getter_AddRefs(value));  	if(NS_SUCCEEDED(rv)) {		*node = value;		NS_IF_ADDREF(*node);	}  return rv;}