Skip to Main Content

SQL & PL/SQL

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!

Convert non-English characters to their English equivalent

GJoobJan 14 2016 — edited Jan 14 2016

Hi,

I am trying to write a procedure that generates email addresses from people's names.

There are a number of people with non-English characters in their names such as umlauts, fadas, graves etc. and I am wondering if there is a handy way to convert these to their English equivalent (e.g. convert 'á' to 'a' or 'ß' to 'ss')?

I tried using UTL_RAW.CAST_TO_VARCHAR2(NLSSORT(:the_name, 'nls_sort=binary_ai')) which seemed to work fine except that it also converts string to lower case.

Any suggestions would be much appreciated.

G'Joob

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2016
Added on Jan 14 2016
8 comments
7,206 views