rem: charset = GetSelectedTreelistAttribute(gDialog.charsetTree, "value"); if(charset != "") 
add: charset = gDialog.charsetTree.builderView.getResourceAtIndex(gDialog.charsetTree.currentIndex).Value; if (charset) 
context: function SelectCharset(){  if(initDone)   {    try 	{      charset = GetSelectedTreelistAttribute(gDialog.charsetTree, "value");      if(charset != "")         charsetWasChanged = true;    }    catch(e) {}  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e7d2902076084e6030ad3dcf84b7d8ebd6b6e095/EditorSaveAsCharset.js/clean/editor/ui/dialogs/content/EditorSaveAsCharset.js