Problem:
My python program is encountering an encoding error. I’ve tried several methods already but still couldn’t fix the issue. Find the snippet below:
result = unicode(google.searchGoogle(param), "utf-8").encode("utf-8")
I can smell something silly in my code but I am unable to figure out the problem. here is the error message I am getting
exceptions.TypeError: decoding Unicode is not supported
Could anybody here solve the problem for me, please?