Remove accents from a string via Groovy

(Doc ID 2337306.1)

Last updated on JANUARY 02, 2018

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.12.1.0.0 and later
Information in this document applies to any platform.

Goal

in our OSC instance users can type both with English and Greek characters. User's input is turned to uppercase before saving to the database.
In Greek, when typing with lowercase characters words have accents ( i.e Μαρία Παππά). In uppercase characters though, accents do not exist.The problem we face is the following:
The input Μαρία Παππά is turned to ΜΑΡΊΑ ΠΑΠΠΆ with the method uppercase(). Is there a way to remove accents with Groovy script?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms