ini_set('default_charset', 'UTF-8'); header('Content-Type: text/html; charset=utf-8'); setlocale(LC_ALL, 'en_GB.UTF-8@euro'); echo money_format('%n', 512.65);