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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fa180dfaba4df0a6e9eaf20189d68488dc69653d/EditorSaveAsCharset.js/clean/editor/ui/dialogs/content/EditorSaveAsCharset.js