We need the following, and we need the exact conclusion:
type(sourceresult.sourcename)
As I said, I'm pretty sure that your sourceresult.sourcename already UTF-8 encoded.
Maybe this one might help a bit.
EDIT: It seems your sourceresult.sourcename encoded as cp1252. I do not know what mystring (which you indicate in the comment) is. So, to get the UTF-8 encoded string, you need to do:
source_as_UTF8= sourceresult.sourcename.decode("cp1252").encode("utf-8")
However, the string encoded by cp1252 is not consistent with the error message you specified.
source share