note 41214 deleted from function.setlocale by derick
| From: | derick@php.net | Date: | Tue, 30 Aug 2005 11:23:03 +0000 |
| Subject: | note 41214 deleted from function.setlocale by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-94410@lists.php.net to get a copy of this message | ||
Note Submitter: zyxwvu at users dot sourceforge dot net
----
If you're a Windows PHP programmer and you want to use ISO encoding, not default windows-125x,
you have to use one of these codepages:
28591 gives iso-8859-1
28592 gives iso-8859-2
28593 gives iso-8859-3
etc.
28605 gives iso-8895-15
Example:
// Set to polish ISO-8859-2
setlocale(LC_ALL, 'Polish_Poland.28592');
Of course you have to activate required codepages in the Start -> Control Panel ->
Internationalization -> Advanced, and be sure that your editor generates documents in the iso
encoding :).