note 109762 modified in function.money-format by danbrown

From: Date: Fri, 31 Aug 2012 15:54:33 +0000
Subject: note 109762 modified in function.money-format by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-190349@lists.php.net to get a copy of this message
We found that after switching from Ubuntu 10.04 php -v 5.3.2, to Ubuntu 12.04 php -v 5.3.10 this no longer worked:

<?php setlocale(LC_MONETARY, 'en_US'); ?>

Found that using:

<?php setlocale(LC_MONETARY, 'en_US.UTF-8'); ?>

worked find --was-- We found that after switching from Ubuntu 10.04 php -v 5.3.2, to Ubuntu 12.04 php -v 5.3.10 this no longer worked: setlocale(LC_MONETARY, 'en_US'); Found that using: setlocale(LC_MONETARY, 'en_US.UTF-8'); worked find http://php.net/manual/en/function.money-format.php

« previous php.notes (#190349) next »