rem: document.compose.message.value = document.compose.html_message.value; 
add: var rExp; var text=document.compose.html_message.value;  rExp=/&aring;/gi; text.replace(rExp, "");  rExp=/&aring;/gi; text.replace(rExp, "");  document.compose.message.value = text; 
context: function setComposeCmd(val) {    if (document.compose.to.value.length == 0) {       alert('The To: field must not be empty.');       document.compose.to.focus();       return;   }   try {     document.compose.message.value = editor.getHTML();   } catch (e) {     document.compose.message.value = document.compose.html_message.value;   }   // alert(editor.getHTML());   if (document.compose.message.value.length == 0) {     alert('The message field must not be empty.');     document.compose.html_message.focus();     return;   }   /* check for attachements */   if (document.compose.file1.value.length > 0) {     document.compose.attached.value="yes";   } else if (document.compose.file2.value.length > 0) {     document.compose.attached.value="yes";   } else if (document.compose.file3.value.length > 0) {     document.compose.attached.value="yes";   } else if (document.compose.file4.value.length > 0) {     document.compose.attached.value="yes";   } else if (document.compose.file5.value.length > 0) {     document.compose.attached.value="yes";   }         document.compose.cmd.value=val;   document.compose.submit();}
meta: 2809	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2809/1f9e4958ab66167b3f6aeadbf4462bf193344163/mail.js/buggy/applications/mail/mail/mail.js