From: larryjadams at comcast dot net Operating system: WindowsXP Pro PHP version: 5.0.4 PHP Bug Type: Gettext related Bug description: Translations Not Working Correctly
Description: ------------ When I use the builtin Gettext dll file in PHP 5.0.4, my translations do not work correctly. Translation strings are being interpreted and output. However, special characters end up being in another unknown language. When I use the Savannah Groups php-gettext, everything is A Ok in English, French and Japanese. I also can not use LC_MESSAGES as it is not a defined constant anymore when using setlocale. I have to instead use LC_ALL which does not set properly. The only way I can get the translated messages to appear is by settings the environment variable LC_ALL to the correct value. Reproduce code: --------------- I can send along the *.mo files and Jpeg files to demonstrate the output. -- Edit bug report at http://bugs.php.net/?id=33133&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33133&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33133&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33133&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33133&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33133&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33133&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33133&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33133&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33133&r=support Expected behavior: http://bugs.php.net/fix.php?id=33133&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33133&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33133&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33133&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33133&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33133&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33133&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33133&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33133&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33133&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33133&r=mysqlcfg
