I have <%= f.label :cost, \"Cost (£/m)\" %> in a form. When the form is rendered the \"£\" sign comes out as �. I am using utf-8 encoding. Why is this ha
<%= f.label :cost, \"Cost (£/m)\" %>
Are you outputting HTML? If so you need to escape the character <%= f.label :cost, "Cost (£/m)" %>
<%= f.label :cost, "Cost (£/m)" %>