note 41214 added to function.setlocale
| From: | zyxwvu at users dot sourceforge dot net | Date: | Fri, 02 Apr 2004 17:55:47 +0000 |
| Subject: | note 41214 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67531@lists.php.net to get a copy of this message | ||
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 :).
----
Manual Page -- http://www.php.net/manual/en/function.setlocale.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41214
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41214&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41214&report=yes
Search -- http://master.php.net/manage/user-notes.php