title: How to display German Umlaut characters through JavaScript?
body: <p>I have the following JavaScript:</p>
  
  <pre><code> $( "#calculatorFromId" ).autocomplete({
                   source: function( request, response ) {
                       $.ajax({
                           url: "${autosuggestCurrenciesUrl}",
                           dataType: "json",
                           data: {
                               term: request.term
                           },
                           success: function( data ) {
                                  response(data);
  
                           }
                       });
                   },
                  minLength: 2,
                  delay: 0,
  focus: function(event, ui) {
  
  $( "#calculatorFromId").
  val(ui.item.label.replace('&amp;auml;','ä').replace('&amp;uuml;','ü').
  replace('&amp;ouml;','ö').replace('&amp;Auml;','Ä').replace('&amp;Uuml;','Ü').#
  replace('&amp;Ouml;','Ö') + "(" + ui.item.id +")");
  return false;
  }    
  </code></pre>
  
  <p>The German Umlaut is not correctly displayed. 
  Do you know what value should I pass for the second argument in the <strong>replace</strong> function ?
  Every value I pass, it is displayed in the textfield exactly how it was passed.
  No conversion is done.</p>
  
  <p>Thank you!</p>