From: guoyf at globalsources dot com Operating system: Linux 2.4.21 PHP version: 4.4.0 PHP Bug Type: OCI8 related Bug description: Report wrong password when NLS_LANG setting to "KOREAN_KOREA.KO16KSC5601"
Description: ------------ My Oracle is UTF8 charset. I setup NLS_LANG in apactl of my apache to get Korea charset. The NLS_LANG is set to NLS_LANG=KOREAN_KOREA.KO16KSC5601. When I restart apache, and use pconnect to connect to oracle. Oracle report: invalid user name or password. Of course the password is correct. Try to set the NLS_LANG to NLS_LANG=AMERICAN_AMERICA.KO16KSC5601 and it wil be okay. Reproduce code: --------------- OCIPLogon("scott","tiger","mydev"); Expected result: ---------------- Connect succesfully Actual result: -------------- Report invalid user name or password -- Edit bug report at http://bugs.php.net/?id=34669&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34669&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34669&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34669&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34669&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34669&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34669&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34669&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34669&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34669&r=support Expected behavior: http://bugs.php.net/fix.php?id=34669&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34669&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34669&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34669&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34669&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34669&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34669&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34669&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34669&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34669&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34669&r=mysqlcfg