in reply to Re: error: unrecognised character \xC2 at the end of line
in thread error: unrecognised character \xC2 at the end of line
In that case the code which you originally showed is not the same as that you are now running. Please show you currect code. It might also be worth capturing the output using something like script(1).