in reply to Slightly OT - Matching a strange character

Open the file in emacs, cursor over to the character and use C-x =.

Oh, ok, a Perl solution. Making a few assumptions about the variable storing the string, and the text in the region of the funny character ...

use utf8; $text_before = "abc"; $text_after = "def"; $text =~ s/($text_before).($text_after)/$1X$2/

--
TTTATCGGTCGTTATATAGATGTTTGCA