in reply to two byte chars in code

well, assuming your string is already utf8 encoded, then something like
s/\x{12ab}/ /g
should do the trick

Dave.