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
Suggestion from my experience) :
Either send your page with UFT-8 encoding, or send the pound sign as £
(or £
if you're sending XML rather than HTML).
Are you outputting HTML? If so you need to escape the character <%= f.label :cost, "Cost (£/m)" %>