lazzard / php-ftp-client

:package: Provides helper classes and methods to manage FTP files in an OOP way.
MIT License
91 stars 19 forks source link

getFileContent returns wrong encoding #20

Closed Nils-Thiele closed 3 years ago

Nils-Thiele commented 3 years ago

If the content of a PDF is loaded with getFileContent, the encoding of the file is set in such a way that it cannot be output correctly afterwards. e.g. Test becomes -> !"#$

AmraniCh commented 3 years ago

Hy, thanks for opening this issue.

This issue is just fixed in PR #23 and a new version of this package will be released soon, thank you!