RegisterConverterTitles(registry, "software/netscape/intl/xuconv/titles/"); RegisterConverterData(registry, "software/netscape/intl/xuconv/data/");
RegisterConverterTitles(registry, TITLE_BUNDLE_REGISTRY_KEY); RegisterConverterData(registry, DATA_BUNDLE_REGISTRY_KEY);
nsresult nsCharsetConverterManager::RegisterConverterManagerData(){  nsresult res = NS_OK;  NS_WITH_SERVICE(nsIRegistry, registry, kRegistryCID, &res);  if (NS_FAILED(res)) return res;  // open registry if necessary  PRBool regOpen = PR_FALSE;  registry->IsOpen(&regOpen);  if (!regOpen) {    res = registry->OpenWellKnownRegistry(nsIRegistry::ApplicationComponentRegistry);    if (NS_FAILED(res)) return res;  }  // XXX take these konstants out of here  // XXX change "xuconv" to "uconv" when the new enc&dec trees are in place  RegisterConverterTitles(registry, "software/netscape/intl/xuconv/titles/");  RegisterConverterData(registry, "software/netscape/intl/xuconv/data/");  return NS_OK;}