Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
JM39
Creator
Creator

How to replace foreign characters

Hello everyone

I have some data with foreign characters and I need to try and replace those. Example:

ARMANDO BAUTISTA GARCÍA - this is what I have in my source data

ARMANDO BAUTISTA GARCIA - this is what I want in the output

Is there a way I can achieve this in the tmap? TIA

Labels (2)
1 Solution

Accepted Solutions
gjeremy1617088143

Hi, maybe you could use : TalendString.removeAccents(your String)

 

else you could import in a tJava advanced settings:

import java.text.Normalizer;

 

and use in a tmap :

Normalizer .normalize((your string), Normalizer.Form.NFD) .replaceAll("[^\\p{ASCII}]", "");

 

Send me love and kudos

 

View solution in original post

2 Replies
gjeremy1617088143

Hi, maybe you could use : TalendString.removeAccents(your String)

 

else you could import in a tJava advanced settings:

import java.text.Normalizer;

 

and use in a tmap :

Normalizer .normalize((your string), Normalizer.Form.NFD) .replaceAll("[^\\p{ASCII}]", "");

 

Send me love and kudos

 

JM39
Creator
Creator
Author

Perfect, thank you!

TalendString.removeAccents(your String) - this worked 🙂