Forum
Using $ in a select field type
Hi,
I've got a field in a blog post with this line of code:
<perch:blog id="event_currency" type="select" options="£|£,$|$,€|€" label="Currency" help="Select the currency for the event price" order="7" />
The £ and € symbols show up on the front-end absolutely fine, but the $ symbol shows up as $
and isn't rendered as the symbol.
Is this a bug? I can get it working by using just '$', but I was hoping to implement it properly in the code.
Cheers, Phil
If your pages are UTF8 you don't need to encode those characters at all.
Thanks Drew!