title: How can I get the value in utf-8 from an axios get receiving iso-8859-1 in node.js
body: <p>I have the following code:</p>
  
  <pre><code>const notifications = await axios.get(url)
  const ctype = notifications.headers["content-type"];
  </code></pre>
  
  <p>The ctype receives "text/json; charset=iso-8859-1"</p>
  
  <p>And my string is like this: "'Ol� Matheus, est� pendente.',"</p>
  
  <p>How can I decode from iso-8859-1 to utf-8 without getting those erros?</p>
  
  <p>Thanks</p>