Remove interpreter system encoding hack.

Closes #245.
Merge branch 'feature/v4.0.9' into develop
Handle encoding errors while using the remote connection on "Windows Os".

Closes #249.