#28062 [Opn->Fbk]: gettext produces ? instead of german special chars
| From: | derick@php.net | Date: | Mon, 19 Apr 2004 18:30:16 +0000 |
| Subject: | #28062 [Opn->Fbk]: gettext produces ? instead of german special chars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-58404@lists.php.net to get a copy of this message | ||
ID: 28062
Updated by: derick@php.net
Reported By: soletan at toxa dot de
-Status: Open
+Status: Feedback
Bug Type: Gettext related
Operating System: SuSE Linux 7.2
PHP Version: 4.3.6
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2004-04-19 17:08:26] soletan at toxa dot de
BTW: here's my config.nice:
#! /bin/sh
#
# Created by configure
'./configure' \
'--with-apxs2=/usr/local/httpd/bin/apxs' \
'--enable-discard-path' \
'--with-debug' \
'--enable-safe-mode' \
'--with-exec-dir' \
'--with-openssl' \
'--enable-sigchild' \
'--enable-maqic-quotes' \
'--enable-libgcc' \
'--with-zlib' \
'--enable-bcmath' \
'--with-bz2' \
'--enable-calendar' \
'--with-db3=/usr/local/BerkeleyDB4.1' \
'--enable-dio' \
'--enable-ftp' \
'--with-gd' \
'--enable-gd-native-ttf' \
'--enable-dl' \
'--with-ttf' \
'--with-t1lib' \
'--with-jpeg-dir' \
'--with-png-dir' \
'--with-gettext' \
'--with-imap' \
'--with-imap-ssl' \
'--enable-mbstring' \
'--enable-mbregex' \
'--with-mcrypt' \
'--with-mysql=/usr/local/mysql' \
'--with-tiff-dir' \
'--enable-sockets' \
'--with-regex' \
'--enable-tokenizer' \
'--with-xmlrpc' \
'--with-ming=/usr' \
"$@"
------------------------------------------------------------------------
[2004-04-19 17:05:04] soletan at toxa dot de
Description:
------------
Hi,
I've upgraded from 4.3.5 to 4.3.6 immediately to keep as bug-free as
possible. Now I detected some trouble using gettext. I use it to
translate hardcoded english strings in script to be translated into
german versions.
The latter ones contain special characters which are part of
ISO-8859-1. These have been displayed properly under 4.3.5. Now I get
questions marks instead. It must be a problem up to PHP, since I can
switch back to the previously installed 4.3.5 to get working again.
Both versions are compiled using identical config.nice-scripts.
I grepped the Changelog and didn't found any notice on gettext. So
what's up with that?? I won't use that "safe" (bug-fixed) version
4.3.6, since many of the sites I'm hosting rely on gettext
translation.
Thanks for your help in advance,
best regards.
Thomas Urban
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28062&edit=1