http://www.perlmonks.org?node_id=481164

juo has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I am looking for a way to replace any special character symbols with something else but I found that I even have troubles with typing some of them in my texteditor, like some symbols can exist in excel but if I copy paste then it will change it to something else. The characters could be anything, from any language also. for example :

% : Per

¡Ü : st

¡À : +/-

¦¸ : Ohm

¶þ : 2

¼« : not bad

¹Ü : good

Is their a way to get for each symbol/character a reference code that can be used in scripting and then look in a file for that code and then replace it with something else? I used to remember that each character is linked to a table and that table links can be used. I also notice that when I paste them in my edit screen they look good but got distorted when previewed.