robbiepaul / cloudconvert-laravel

A Laravel wrapper for the CloudConvert API
177 stars 34 forks source link

utf8_encode template converting #40

Open animaa123 opened 7 years ago

animaa123 commented 7 years ago

When you try to convert a docx to a pdf using the templating method, there is a problem with accents.

I found the line that cause the problem :

File : \RobbieP\CloudConvertLaravel\HttpClientAdapter\Guzzle6Adapter Method : castContents line: 188

Simply by removing the utf8_encode, it works

I'm wondering why it need to be encoded in uft8, and if by removing the part of code it will not create an other bug.

Thanks