printf("this is the trial value %s \n", Trial.ToNewCString());
printf("this is the trial value %s \n", NS_LossyConvertUCS2toASCII(Trial).get());
int nsAccount::GetConfigValues(nsString fileName){	  nsresult ret;  nsIInputStream* in = nsnull;	nsString Trial; Trial.AssignWithConversion("resource:/res/acct/NCI_Dir/");	Trial = Trial + fileName;	printf("this is the trial value %s \n", Trial.ToNewCString());  nsCOMPtr<nsIIOService> service(do_GetService(kIOServiceCID, &ret));  if (NS_FAILED(ret)) return ret;  nsCOMPtr<nsIURI> uri;  ret = NS_NewURI(getter_AddRefs(uri), Trial, nsnull, service);  if (NS_FAILED(ret)) return ret;  nsIChannel *channel = nsnull;  ret = NS_OpenURI(&channel, uri, service);  if (NS_FAILED(ret)) return ret;  ret = channel->Open(&in);  if (NS_FAILED(ret)) return ret;	nsIPersistentProperties* props = nsnull;  ret = nsComponentManager::CreateInstance(kPersistentPropertiesCID, NULL,    kIPersistentPropertiesIID, (void**) &props);  if (NS_FAILED(ret) || (!props)) {    printf("create nsIPersistentProperties failed\n");    return 1;  }  ret = props->Load(in);  if (NS_FAILED(ret)) {    printf("cannot load properties\n");    return 1;  }  int ind = 1; //  while (1) {    char name[256];    name[0] = 0;    nsAutoString v;    sprintf(name, "%s", "DomainName");    ret = props->GetStringProperty(NS_ConvertASCIItoUCS2(name), v);    if (NS_FAILED(ret) || (!v.Length())) {	printf("Failed to return the Get property \n");    }	PL_strcpy(domainname, v.ToNewCString());    sprintf(name, "%s", "DNSAddress");    ret = props->GetStringProperty(NS_ConvertASCIItoUCS2(name), v);    if (NS_FAILED(ret) || (!v.Length())) {      	printf("Failed to return the Get property \n");    }	PL_strcpy(dnsp, v.ToNewCString());    sprintf(name, "%s", "DNSAddress2");    ret = props->GetStringProperty(NS_ConvertASCIItoUCS2(name), v);    if (NS_FAILED(ret) || (!v.Length())) {      	printf("Failed to return the Get property \n");    }	PL_strcpy(dnss, v.ToNewCString());			printf (" This is the dnsp name %s \n",dnsp);			printf (" This is the dnss name %s \n",dnss);			printf (" This is the domain name %s \n",domainname);//    }//    else {//      printf("%d: ToNewCString failed\n", ind);//    }//    ind++;//  }return 1;}