http://qs321.pair.com?node_id=540089

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

I want to regexp a UTF character using the code.
When doing something similar with unicode characters this works fine:
s/\x{00C0}//g; # delete the upside-down, sentence # initial question mark used in Spanish

However, if I do something similar with a corresponding UTF-8 code i.e.,
s/\x{C0BF}//g; # also tried \x{C0 BF} which resulted, as expected, # in an 'illegal hexidecimal digit...' error message

nothing happens. How can I regexp these codes? Thanks! **that UTF8 code should be C2 BF...