Python は文字が壊れた文字列を返し続けます。
パイソン
test = re.sub('handle(.*?)', '<verse osisID="lol">\1</verse>', 'handle a bunch of random text here.')
print test
私が欲しいもの
<verse osisID="lol">a bunch of random text here.</verse>
私が得ているもの
<verse osisID="lol">*broken character*</verse>a bunch of random text here.