perlquestion
kettle
I want to regexp a UTF character using the code.<br/>
When doing something similar with unicode characters this works fine:<br/>
<code>
s/\x{00C0}//g; # delete the upside-down, sentence
# initial question mark used in Spanish
</code>
<br/>
However, if I do something similar with a corresponding UTF-8 code i.e.,<br/>
<code>
s/\x{C0BF}//g; # also tried \x{C0 BF} which resulted, as expected,
# in an 'illegal hexidecimal digit...' error message
</code><br/>
nothing happens. How can I regexp these codes? Thanks!
**that UTF8 code should be C2 BF...