note 67200 added to function.bind-textdomain-codeset

From: Date: Mon, 05 Jun 2006 18:54:05 +0000
Subject: note 67200 added to function.bind-textdomain-codeset
Groups: php.notes 
Request: Send a blank email to php-notes+get-113255@lists.php.net to get a copy of this message
I had problems with German "umlauts" when using gettext. So, this is how it can be resolved: I've put these lines itom my PHP code: $domain = "messages"; bindtextdomain($domain, "path_to_messages_dir"); bind_textdomain_codeset($domain, 'ISO-8859-15'); textdomain($domain); It works! ---- Server IP: 195.136.184.34 Probable Submitter: 62.233.151.243 (proxied: 192.168.2.13) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.bind-textdomain-codeset.php Edit -- http://master.php.net/note/edit/67200 Del: integrated -- http://master.php.net/note/delete/67200/integrated Del: useless -- http://master.php.net/note/delete/67200/useless Del: bad code -- http://master.php.net/note/delete/67200/bad+code Del: spam -- http://master.php.net/note/delete/67200/spam Del: non-english -- http://master.php.net/note/delete/67200/non-english Del: in docs -- http://master.php.net/note/delete/67200/in+docs Del: other reasons-- http://master.php.net/note/delete/67200 Reject -- http://master.php.net/note/reject/67200 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#113255) next »