Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem with Currency Symbol in IR export to CVS

Phil CliffordFeb 11 2010
I have a number of queries that have been successfully generating csv files for years and have been adapted to provide the basis for the same information to be available as an interactive report with the option to download as csv. The old scripts set the NLS settings at the outset. The Apex app sets the NLS environment in the vpd function. The apex report query is a "select * from some_view" style one that ultimately queries a remote view with several columns like this:

select TRIM (LEADING ' ' FROM TO_CHAR(ROUND(100,2),'L9999G999G990D00')) x from dual;

just as the were in the prior manual SQL.

The "new" apex export to csv files contain an extra character preceding the currency symbol that is upsetting Excel on import.

old-style hexdumps look like this:

2c 22 a3 31 30 30 2e 30 30 22 2c

,"£100.00",

new ones like this:

2c 22 c2 a3 31 30 30 2e 30 30 22 2c
,"£100.00",


Where on earth is Apex getting it into its head to add this (the on-screen report is fine!) and how can I stop it?

Thanks in anticipation.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 11 2010
Added on Feb 11 2010
0 comments
405 views