#21525 [Ana]: bind_textdomain_codeset() missing

From: Date: Sat, 11 Jan 2003 15:49:14 +0000
Subject: #21525 [Ana]: bind_textdomain_codeset() missing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29767@lists.php.net to get a copy of this message
ID: 21525 User updated by: sdteffen@web.de Reported By: sdteffen@web.de Status: Analyzed Bug Type: Gettext related Operating System: Win2k PHP Version: 4.3.0 Assigned To: edink New Comment: 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? Previous Comments: ------------------------------------------------------------------------ [2003-01-08 14:58:15] sdteffen@web.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-08 14:48:35] 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:04:56] sdteffen@web.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? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21525&edit=1

« previous php.bugs (#29767) next »