Page 1 of 1

Re: special character

Posted: Thu Aug 09, 2007 2:00 pm
by solaik
Hi,

Change datatype of this column to VarBinary in source/target stage then try.

Sai

Posted: Thu Aug 09, 2007 2:08 pm
by gsym
Hi Sai,

Changed the datatype of this column to VarBinary, still the same problem...

Posted: Thu Aug 09, 2007 3:32 pm
by ArndW
Stay with VarChar, these characters are not really `special'. NLS is only needed if you need to manipulate non-latin characters, not if you only wish to move them around. What are your Oracle character set settings, it is possible that the conversion is happening there.

Posted: Thu Aug 09, 2007 10:24 pm
by chulett
Typically, the problem occurs when there is no conversion and data is simply moved over. As noted, correct NLS_LANG settings on each end are critical.

Posted: Fri Aug 10, 2007 7:40 am
by gsym
Hi ,

NLS is not installed with the data stage.

SELECT USERENV ('LANGUAGE') FROM DUAL;
Returns --> NLS_LANG=American_America.WE8ISO8859P15

SELECT * FROM NLS_DATABASE_PARAMETERS
the value for NLS_CHARACTERSET IS WE8IS08859P15

Thanks

Posted: Fri Aug 10, 2007 8:00 am
by solaik
Hi,

We faced similar problem in our project,by changing NLS settings to UTF8 or ISO***** solved this issue.

Thanks

Posted: Fri Aug 10, 2007 8:17 am
by gsym
Hi,

There is no conversion and data is simply moved over.

Thanks

Posted: Fri Aug 10, 2007 1:05 pm
by gsym
Hi ,

Hi,

There is no conversion and data is simply moved over.
NLS is not installed, is it possible to move those characters without NLS?
Can we get those characters into the oracle by changing the NLS_CHARACTERSET?
Currently the the value for NLS_CHARACTERSET IS WE8IS08859P15.

Thanks

Posted: Mon Aug 13, 2007 7:36 am
by gsym
Hi,

Can anyone help me to solve this problem..

Thanks

Posted: Mon Aug 13, 2007 7:50 am
by chulett
You don't need NLS. Proper setting of the NLS_LANG environment variable in the job's session should solve your problem. Search for NLS_LANG, LC_CTYPE and Oracle to find several other posts discussing both the problem and the solutions people have found.

You'll find mention of creating a user defined variable for $NLS_LANG via the Administrator and then overriding the default value in the job in question.

Posted: Mon Aug 13, 2007 9:04 am
by gsym
Hi ,

Defined the User Defined Environment Variable for NLS_LANG and for LC_CTYPE in the Administrator for the project. Set the values to $ENV . Added the parameters in the jobParameters and override the
default values to AMERICAN_AMERICA.UTF8 and C.utf8.

Still the same problem...

dsenv template is

#LANG="<langdef>";export LANG
#LC_ALL="<langdef>";export LC_ALL
#LC_CTYPE="<langdef>";export LC_CTYPE
#LC_COLLATE="<langdef>";export LC_COLLATE
#LC_MONETARY="<langdef>";export LC_MONETARY
#LC_NUMERIC="<langdef>";export LC_NUMERIC
#LC_TIME="<langdef>";export LC_TIME
#LC_MESSAGES="<langdef>"; export LC_MESSAGES

Do i need to change this dsenv template too ?

Thanks

Posted: Mon Aug 13, 2007 9:07 am
by chulett
No. Perhaps you need to verify what encoding was actually used for your source file if 'UTF8' didn't help.