char * cs1 = "iso-8859-1, iso-8859-15, iso-8859-2, iso-8859-3, iso-8859-4, iso-8859-7, iso-8859-9, iso-8859-10, iso-8859-13, iso-8859-14"; char * cs2 = "iso-2022-jp, shift_jis, euc-jp, big5, x-euc-tw, gb2312, euc-kr, utf-7, utf-8"; char * cs3 = "koi8-r, iso-8859-5, windows-1251, iso-ir-111, ibm866, x-mac-cyrillic, koi8-u, x-mac-ukrainian"; char * cs4 = "windows-1258, x-viet-tcvn5712, viscii, x-viet-vps, tis-620, armscii-8, iso-8859-6, windows-1256, iso-8859-8, windows-1255"; char * cs5 = "x-mac-roman, x-mac-ce, x-mac-turkish, x-mac-croatian, x-mac-romanian, x-mac-icelandic, x-mac-greek"; char * cs6 = "windows-1252, windows-1250, windows-1254, windows-1257, windows-1253";
char cs1[] = { "iso-8859-1, iso-8859-15, iso-8859-2, iso-8859-3, iso-8859-4, iso-8859-7, iso-8859-9, iso-8859-10, iso-8859-13, iso-8859-14" }; char cs2[] = { "iso-2022-jp, shift_jis, euc-jp, big5, x-euc-tw, gb2312, euc-kr, utf-7, utf-8" }; char cs3[] = { "koi8-r, iso-8859-5, windows-1251, iso-ir-111, ibm866, x-mac-cyrillic, koi8-u, x-mac-ukrainian" }; char cs4[] = { "windows-1258, x-viet-tcvn5712, viscii, x-viet-vps, tis-620, armscii-8, iso-8859-6, windows-1256, iso-8859-8, windows-1255" }; char cs5[] = { "x-mac-roman, x-mac-ce, x-mac-turkish, x-mac-croatian, x-mac-romanian, x-mac-icelandic, x-mac-greek" }; char cs6[] = { "windows-1252, windows-1250, windows-1254, windows-1257, windows-1253" };
nsresult nsCharsetMenu::InitBrowserMoreXMenu(nsIRDFService * aRDFServ,                                              nsICharsetConverterManager * aCCMan,                                              nsString ** aDecs, PRInt32 aCount) {  nsresult res = NS_OK;  nsCOMPtr<nsIRDFContainer> container1;  nsCOMPtr<nsIRDFContainer> container2;  nsCOMPtr<nsIRDFContainer> container3;  nsCOMPtr<nsIRDFContainer> container4;  nsCOMPtr<nsIRDFContainer> container5;  nsCOMPtr<nsIRDFContainer> container6;  char * cs1 = "iso-8859-1, iso-8859-15, iso-8859-2, iso-8859-3, iso-8859-4, iso-8859-7, iso-8859-9, iso-8859-10, iso-8859-13, iso-8859-14";  char * cs2 = "iso-2022-jp, shift_jis, euc-jp, big5, x-euc-tw, gb2312, euc-kr, utf-7, utf-8";  char * cs3 = "koi8-r, iso-8859-5, windows-1251, iso-ir-111, ibm866, x-mac-cyrillic, koi8-u, x-mac-ukrainian";  char * cs4 = "windows-1258, x-viet-tcvn5712, viscii, x-viet-vps, tis-620, armscii-8, iso-8859-6, windows-1256, iso-8859-8, windows-1255";  char * cs5 = "x-mac-roman, x-mac-ce, x-mac-turkish, x-mac-croatian, x-mac-romanian, x-mac-icelandic, x-mac-greek";  char * cs6 = "windows-1252, windows-1250, windows-1254, windows-1257, windows-1253";  nsObjectArray mBrowserMore1Menu;  nsObjectArray mBrowserMore2Menu;  nsObjectArray mBrowserMore3Menu;  nsObjectArray mBrowserMore4Menu;  nsObjectArray mBrowserMore5Menu;  nsObjectArray mBrowserMore6Menu;  res = NewRDFContainer(mInner, kNC_BrowserMore1CharsetMenuRoot,       getter_AddRefs(container1));  if (NS_FAILED(res)) return res;  AddFromStringToMenu(cs1, aRDFServ, aCCMan, &mBrowserMenu, container1,       aDecs, aCount);  res = NewRDFContainer(mInner, kNC_BrowserMore2CharsetMenuRoot,       getter_AddRefs(container2));  if (NS_FAILED(res)) return res;  AddFromStringToMenu(cs2, aRDFServ, aCCMan, &mBrowserMenu, container2,       aDecs, aCount);  res = NewRDFContainer(mInner, kNC_BrowserMore3CharsetMenuRoot,       getter_AddRefs(container3));  if (NS_FAILED(res)) return res;  AddFromStringToMenu(cs3, aRDFServ, aCCMan, &mBrowserMenu, container3,       aDecs, aCount);  res = NewRDFContainer(mInner, kNC_BrowserMore4CharsetMenuRoot,       getter_AddRefs(container4));  if (NS_FAILED(res)) return res;  AddFromStringToMenu(cs4, aRDFServ, aCCMan, &mBrowserMenu, container4,       aDecs, aCount);  res = NewRDFContainer(mInner, kNC_BrowserMore5CharsetMenuRoot,       getter_AddRefs(container5));  if (NS_FAILED(res)) return res;  AddFromStringToMenu(cs5, aRDFServ, aCCMan, &mBrowserMenu, container5,       aDecs, aCount);  res = NewRDFContainer(mInner, kNC_BrowserMore6CharsetMenuRoot,       getter_AddRefs(container6));  if (NS_FAILED(res)) return res;  AddFromStringToMenu(cs6, aRDFServ, aCCMan, &mBrowserMenu, container6,       aDecs, aCount);  return res;}