note 116031 deleted from function.setlocale by salathe
| From: | salathe@php.net | Date: | Fri, 07 Nov 2014 11:06:34 +0000 |
| Subject: | note 116031 deleted from function.setlocale by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-200825@lists.php.net to get a copy of this message | ||
Note Submitter: Xaris
----
What i used to get days in Greek show up on an utf8 page.
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
setlocale(LC_ALL, 'greek.UTF-8');
} else {
setlocale(LC_ALL, 'el_GR.UTF-8');
}