ini_set('default_charset', 'UTF-8'); setlocale(LC_ALL, 'en_GB.UTF-8@euro'); echo money_format('%n', 512.65);