title: How to encode the text into string in rails?
body: <pre><code>unit = "Nm³/hr Air"
  # =&gt; "Nm³/hr Air"
  unit.html_safe?
  # =&gt; false
  </code></pre>
  
  <p>I want the result of <code>unit.html_safe?</code> as <code>true</code> for to display in the view.</p>
  
  <p>Thanks in advance</p>