Skip to main content

Removing accents from a string

It is easy to use the removeAccents routine, along with a tJava component, to replace the accented characters, for example:

System.out.println(TalendString.removeAccents("sâcrebleü!"));

The accented characters are replaced with non-accented characters:

The result is "sacrebleu!" with no accents in the Run view.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!