note 70849 added to ref.gettext

From: Date: Tue, 31 Oct 2006 23:57:40 +0000
Subject: note 70849 added to ref.gettext
Groups: php.notes 
Request: Send a blank email to php-notes+get-119277@lists.php.net to get a copy of this message
Juan Liska, I found an alternative. Instead of renaming or adding a alias to the locale, I simply changed $language = 'pt_BR'; to $language = 'pt_BR.UTF-8'; putenv("LANG=$language"); setlocale(LC_ALL, $language) and it did work fine! ---- Server IP: 66.163.161.117 Probable Submitter: 201.52.29.36 ---- Manual Page -- http://www.php.net/manual/en/ref.gettext.php Edit -- https://master.php.net/note/edit/70849 Del: integrated -- https://master.php.net/note/delete/70849/integrated Del: useless -- https://master.php.net/note/delete/70849/useless Del: bad code -- https://master.php.net/note/delete/70849/bad+code Del: spam -- https://master.php.net/note/delete/70849/spam Del: non-english -- https://master.php.net/note/delete/70849/non-english Del: in docs -- https://master.php.net/note/delete/70849/in+docs Del: other reasons-- https://master.php.net/note/delete/70849 Reject -- https://master.php.net/note/reject/70849 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#119277) next »