Forum: Ruby on Rails Displaying currency symbols with select(), is it possible?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
dmack (Guest)
on 2007-01-22 01:01
(Received via mailing list)
I posted this a while ago and now I have a more simple example.  The
following snippet produces a pull-down menu but the &pound is not
converted into the pound symbol in the option text.

For example:

    <%= select("customer", "def_cur", [['$ - USD", "$'], ['&pound; -
GBP', '&pound;']]) %>

How are producing select menus with special characters in them these

I'm having this problem with rails 1.6 and 1.2.1.  I'd really like to
present the user with the list currencies along with their symbols
&pound, &euro, &yen, etc..  in the form.

This topic is locked and can not be replied to.