add auto detect encode
Update README.md