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 and later
Information in this document applies to any platform.


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?


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