problem display 'accent' on editor

Mar 13, 2013 at 2:48 PM
Hello all

I have a file with extension txt who contain a simple text with accent such as é ,è,...
When i insert this file into editor , there are incorrect caracter
function()  {   
      $.ajax({
        url : name_file,
    dataType: "text",
    success : function (data) 
               {      $("#editor").htmlarea('html', data ); }
              });       
}