Hello Everyone,
The title might not be accurate since I am not familiar with encoding, but here is my problem in simple words: I have a variable which is actually a list of names of people. Apparently, some of these names are Spanish or French, so they have characters which I belive are called "hexadecimal characters", such as E with an accent above it, or a lowercase i with umlaut above it. ( I dont know how to type them, some examples are attached in the picture.)
I want to convert all of them into regular characters, for example, E with dots into E, etc.
I thought compress function should be the right way, so first I tried to just keep the alphabets like this:
data test2;
set test;
names_translate = compress(name2,'','ka');
run;
It does not work unfortunately, and those charachters remain there. I played with other modifiers, such as 'c' or 'w' but those do not seem to give me what I want either. I was wondering if there is a neat method with compress function, or any other function that gives me the desired result? In the picture below I have shown basically what I have and what I want to get as output.
... View more