View Full Version : php.net and internationalization
10-05-2004, 06:42 PM
Does anyone know of a single point of entry to php.nets site that covers internationalization? I have found different items in the manual but nothing with just i18n as a topic or title.
10-05-2004, 07:57 PM
Sadly enough, this is a neglected topic both in the documentation and the engine itself. It would be nice if PHP could internally handle Unicode correctly, because that would make internationalization issues much easier to deal with.
Anyway, these sections might be helpful to you:
Gettext - http://www.php.net/manual/en/ref.gettext.php
Multibyte Strings - http://www.php.net/manual/en/ref.mbstring.php
setlocale - http://www.php.net/setlocale
utf8_encode - http://www.php.net/utf8_encode
Most people roll their own I18n API though, because native support off PHP to often depends on certain extensions installed, which prevents easy distribution. The PEAR department has some solutions to offer, though I have no experience with them.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.