Wierd Characters Passed from Oracle Function

I have an oracle function I am calling in PP which returns a 'Pass' or 'Fail' varchar2. When pipeline pilot receives this for some reason comes back as foreign characters. Specifically: 'Pass' appears to be: 慐獳 and 'Fail: No Match' looks like: 慆汩›潎䴠瑡档

I've tried changing the unicode true to false on the implementation tag, doesn't make a difference.

Perhaps some issue with the Oracle Char Set used?

I know everything else works because I was using a out number to return 0 or 1 before without an issue. I have also run the function manually in oracle to see the text return correctly.
Answers 3
GM
GM 2010-03-05
Have you checked the NLS_LANG parameter for the Oracle client that Pipeline Pilot uses? (This would be the Oracle client installed on the PPilot server machine). See NLS_LANG FAQ
I don't think it's surprising that you see different output when connecting to the Db from your local machine given that it may be a different client, or at very least, a client with different language and territory settings than the client PP is using.
CS
CS 2010-03-08
What do you get if you create an ODBC connection to the server and use

SELECT 'PASS' as mydata from dual;

as the SQL in a fresh protocol? You should see a single result named myPass with a value of PASS in an HTML table viewer.

Chris
DS
DS 2010-06-24

Sorry for not updating this, it was resolved a long time ago. It ended up being the version of the ODBC driver, I can't recall the version we were using (5.1 I think) but when I upgraded it to Scitegic Oracle 5.3 the issue went away.

-D