Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#137035 - 03/22/07 10:02 AM Problem in Searching with Special Character.
Remedy_Learner Offline
Stealth Member

Registered: 07/12/06
Posts: 56
hi all,

I'm facing problem while searching with a string which contains some spanish character.

In our pre production server, when we are searching in a schema with field1 ='LII TestingRecord - manándar', resulting rcord is having field1= 'LII TestingRecord - manandar'.

Internally its converting the string 'LII TestingRecord - manándar' to ''LII TestingRecord - manandar' and retrieving the result.

But in our production server its not able to convert the string from 'LII TestingRecord - manándar' to ''LII TestingRecord - manandar'

I tried setting the same locale in both the server. Both the server have same version, patch number , DBVERSION in control table , Database Version.

Can anyone please point out why it is behaving differently?

Is there configuration change i need to do?

Thakns and Regards,
KSP

Top
#137037 - 03/22/07 12:40 PM Re: Problem in Searching with Special Character. [Re: Remedy_Learner]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
Hi,

Did you check the NLS paramaters of both databases?
Did you check the characterset of both databases?
_________________________
Vincent.

Top
#137438 - 04/19/07 01:16 AM Re: Problem in Searching with Special Character. [Re: Vincent_RIEDWEG]
Remedy_Learner Offline
Stealth Member

Registered: 07/12/06
Posts: 56
hi,

NLS parameters and Characterset of both the databases are same.

Any idea what might be the reason?

Regards,
KSP

Top
#137440 - 04/19/07 02:19 AM Re: Problem in Searching with Special Character. [Re: Remedy_Learner]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
What about client locale and version? It's the same when you try to perform serach on both server?
_________________________
Vincent.

Top
#137442 - 04/19/07 02:26 AM Re: Problem in Searching with Special Character. [Re: Vincent_RIEDWEG]
Remedy_Learner Offline
Stealth Member

Registered: 07/12/06
Posts: 56
locale and version of client tool are also same.We tried logging in both server in the same window. locale En_GB and client version 5.01.02 Patch 1350.

Regards,
KSP

Top
#137444 - 04/19/07 02:38 AM Re: Problem in Searching with Special Character. [Re: Remedy_Learner]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
Quite amazing...

Are the locale of both server OS the same?
_________________________
Vincent.

Top
#137446 - 04/19/07 03:30 AM Re: Problem in Searching with Special Character. [Re: Vincent_RIEDWEG]
Remedy_Learner Offline
Stealth Member

Registered: 07/12/06
Posts: 56
Can you please let me know how to check that?

Regards,
KSP

Top
#137450 - 04/19/07 04:12 AM Re: Problem in Searching with Special Character. [Re: Remedy_Learner]
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
On Windows it is: Control Panel --> Regional and Language Options
On Unix (I think) it is: locale -a


Edited by Shark_7-11 (04/19/07 04:14 AM)
Edit Reason: Removed "Date and Time", should be "Regional and Language Options"
_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
#137453 - 04/19/07 06:01 AM Re: Problem in Searching with Special Character. [Re: Shark_7-11]
Remedy_Learner Offline
Stealth Member

Registered: 07/12/06
Posts: 56
i did locale -a and found the same result in both the server, we compared two result sets and those are identical.

Then i check env for both the server. here a small discrepency we found was --
in one server (where the problem does not exists) NLS_LANG parameter is set, which is not the case in other server (where the problem exists).

Do you think this can be the problem?

Regards,
KSP

Top
#137454 - 04/19/07 06:13 AM Re: Problem in Searching with Special Character. [Re: Remedy_Learner]
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
What is the NLS_LANG Value?
$ echo $NLS_LANG
_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
Page 1 of 2 1 2 >