Detect encoding rather than hard coding to UTF-8