Euro sign in Select box

<%= select(“prijs”, “prijs”,

[‘€ 12.500’,‘12500’],

[‘€ 25.000’,‘25000’]], :selected =>

session[:zoek_prijs]) %>

Should output something similar to:

You could use the UTF-8 euro symbol itself: €

But you’ll get into trouble if your webserver doesn’t serve pages as UTF-8 (i.e. it is sent in the headers). The € notation seems to be more applicable (if the euro sign is present in the font you’re using anyway).

Best regards

Peter De Berdt

Apparently Rails escapes the text, could be the only solution is to generate the select yourself instead of relying on the Rails helper:

Best regards

Peter De Berdt