nsresult	  result	 = aLocale->GetCategory(category.GetUnicode(), &lc_name_unichar);
nsresult	  result	 = aLocale->GetCategory(category.get(), &lc_name_unichar);
nsStringBundle::GetLangCountry(nsILocale* aLocale, nsString& lang, nsString& country){  if (!aLocale) {    return NS_ERROR_FAILURE;  }  PRUnichar *lc_name_unichar;  nsAutoString	  lc_name;  nsAutoString  	category; category.AssignWithConversion("NSILOCALE_MESSAGES");  nsresult	  result	 = aLocale->GetCategory(category.GetUnicode(), &lc_name_unichar);  lc_name.Assign(lc_name_unichar);  nsMemory::Free(lc_name_unichar);  NS_ASSERTION(NS_SUCCEEDED(result),"nsStringBundle::GetLangCountry: locale.GetCategory failed");  NS_ASSERTION(lc_name.Length()>0,"nsStringBundle::GetLangCountry: locale.GetCategory failed");  PRInt32   dash = lc_name.FindCharInSet("-");  if (dash > 0) {    /*      */    PRInt32 count = 0;    count = lc_name.Left(lang, dash);    count = lc_name.Right(country, (lc_name.Length()-dash-1));  }  else    lang = lc_name;  return NS_OK;}