PHP money_format(); £ sign not GBP
I cannot work out how to get the currency symbol? At the moment I am using setlocale(LC_MONETARY, 'en_GB'); money_format('%i', 1000); Which give me the output GBP1,000 But I want £1,000 I have checked out the PHP manual but it isn't that helpful. Any ideas? Have you tried this? setlocale(LC_MONETARY, 'en_GB'); utf8_encode(money_format('%n', 1000)); This worked for me: setlocale(LC_MONETARY, 'en_GB.UTF-8'); money_format('%n', 1000); It's similar to the selected solution, however it didn't work for me. Why? The reason is that the locale en_GB was not defined in my system, only en_GB.UTF-8 : $