‎2011 Jan 19 4:56 PM
Hi
is there a function that permit to translate a unicode characters to a non-unicode characters?
For example with this function " Ã " must become " a ".
thank you for your help
‎2011 Jan 19 5:10 PM
‎2011 Jan 19 5:27 PM
Copy paste the below code and execute. This could also solve your problem.
DATA: BEGIN OF trans OCCURS 0,
auml TYPE x VALUE 'C4', "'Ä'
c_8e TYPE c VALUE 'A',
gra TYPE x VALUE 'E0', "'Ã '
c_gra TYPE c VALUE 'a',
END OF trans.
*----
-
DATA : input(40).
DATA : output(40).
input = 'ÄBà p'.
output = input.
TRANSLATE output USING trans.
condense output no-gaps.
write 😕 input.
write:/ output.
Thanks,
Senthil