GSTAR
(Omzy83)
1
I’m trying to add the £ (pound) symbol for some of my dropDownList options, but I can’t get it to output. The options are in an array, as follows:
<?php echo CHtml::dropDownList('price_min', $_GET['price_min'], array('100'=>'£100','200'=>'£200')); ?>
But these options don’t get displayed. I have tried putting them in their entity number/name formats but that doesn’t work either.
tri
(tri - Tommy Riboe)
2
You should save the file as UTF-8. Worked for me.
/Tommy
tri
(tri - Tommy Riboe)
4
I have a conversion submenu in my editor (UltraEdit).
mikl
(Mike)
5
GSTAR
(Omzy83)
6
Cheers that’s sorted now, I changed the file format to UTF-8 in Notepad++.