strongloop / strong-oracle

Deprecated: Node.js Driver for Oracle databases (Use https://github.com/oracle/node-oracledb instead)
Other
45 stars 18 forks source link

Problem with clob when setting the NLS_LANG Environment Variable on Windows #6

Open BCool13 opened 10 years ago

BCool13 commented 10 years ago

Just an other minor issue. When I set NLS_LANG environment variable then CLOB support is broken.

Steps to reproduce the issue :+1:

C:\strong-oracle\> set NLS_LANG=American_America.UTF8
C:\strong-oracle\> NPM TEST

Database is : 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production InstantClient : x64bit relase 12.1.0.1.0 Windows : 64bit Node : 64bit vers v0.10.28 VisualStudio : 2012.

raymondfeng commented 10 years ago

Thank you for reporting the issue. I guess it has something to do with the Oracle client/server locale settings. In my case, I tested on Mac with NLS_LANG=American_America.UTF8 and it works.

But there are differences between your env and mine. Can you share the error messages?