nsAutoString propertyURL("resource:/res/wincharset.properties");
PR_AtomicIncrement(&gCnt);
nsWinCharset::nsWinCharset(){  NS_INIT_REFCNT();  PR_AtomicIncrement(&g_InstanceCount);  nsAutoString propertyURL("resource:/res/wincharset.properties");  nsURLProperties *info = new nsURLProperties( propertyURL );  if( info )   {          UINT acp = ::GetACP();          PRInt32 acpint = (PRInt32)(acp & 0x00FFFF);          nsAutoString acpKey("acp.");          acpKey.Append(acpint, 10);          nsresult res = info->Get(acpKey, mCharset);          if(NS_FAILED(res)) {              mCharset = "windows-1252";          }          delete info;  } else {        mCharset = "windows-1252";  }}