TypeError:TypeError: decoding Unicode is not supported

Hi all,

Does anyone else have more thoughts on how can I write a function, to solve the unicode issue on my PC?
See the link with original posts and replies from Michael here:

Thanks

Alena