|  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
 [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?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-08 14:48 UTC]
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 
Would you like a patch for gettext.dsp with defined 
Will this be "fixed" in the next PHP release?
 [2003-01-14 08:50 UTC]
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
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the 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 Apr 16 17:01:30 2024 UTC