php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21525 bind_textdomain_codeset() missing
Submitted: 2003-01-08 14:04 UTC Modified: 2003-01-14 08:50 UTC
From: sdteffen at web dot de Assigned: edink (profile)
Status: Closed Package: Gettext related
PHP Version: 4.3.0 OS: Win2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sdteffen at web dot de
New email:
PHP Version: OS:

 

 [2003-01-08 14:04 UTC] sdteffen at web dot de
Trying to use bind_textdomain_codeset() with the
PHP 4.3.0 binaries results in the following error:

Fatal error: Call to undefined function: bind_textdomain_codeset()

Is the php_gettext.dll in the 4.3.0 release outdated?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-08 14:48 UTC] iliaa@php.net
The function appears to be dependant on HAVE_BIND_TEXTDOMAIN_CODESET, which is not defined in Win32 builds.
 [2003-01-08 14:58 UTC] sdteffen at web dot de
What is the codeset used by gettext() on Win32?

I'm looking for UTF-8. Is this supported?
Is gettext() using the codeset specified in the .mo file?
 [2003-01-11 09:49 UTC] sdteffen at web dot de
I just compiled the dll with HAVE_BIND_TEXTDOMAIN_CODESET 
defined. Everything went well and I'm retrieving 
UTF-8 strings now. 
I'm using libintl.dll from http://gettext.sourceforge.net 
Would you like a patch for gettext.dsp with defined 
HAVE_BIND_TEXTDOMAIN_CODESET? 
Will this be "fixed" in the next PHP release?
 [2003-01-14 08:50 UTC] edink@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC