Removed '\n', '\r' and blank spaces. Still didn't fix the encoding problem.