Skip to Main Content

DevOps, CI/CD and Automation

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!

Replacing german umlaut does not work

481447Jun 25 2007 — edited Jun 25 2007
Hi,

I woul like to know how I do compare 2 strings containing a german umlaut.

For example I am using a parameter P containing a search string I want to compare with a german word like 'im Gespräch'.

Comparing the parameter P with the search string in a query like this:

select ...
...
where :P = 'im Gespräch'
;

does not work because the database nls parameters are different to german.

I tried using a "trick" replacing all characters except A-Z and 0-9 with a '#' using regexp_replace functions.

The result is strange because selecting "regexp_replace('im Gespräch', '[^A-Za-z0-9]', '#')" results in 'im#Gespräch'.

Does anyone have an idea how to solve that problem?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 23 2007
Added on Jun 25 2007
1 comment
595 views