Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment encoding error #158

Closed
andyspb2017 opened this issue Jun 9, 2017 · 1 comment
Closed

Attachment encoding error #158

andyspb2017 opened this issue Jun 9, 2017 · 1 comment
Labels
Milestone

Comments

@andyspb2017
Copy link

Hi! I came across a small problem when processing a message with incorrect content.

Attachment file in mail message include incorrect encoding of filename. How to fix this problem?

PHP Fatal error: Uncaught exception 'Ddeboer\Transcoder\Exception\UndetectableEncodingException' with message 'Encoding for ���������_0609_91.xls is undetectable: mb_convert_encoding(): Unable to detect character encoding' in /var/www/projects/autoorders/vendor/ddeboer/transcoder/src/MbTranscoder.php:47 Stack trace: #0 [internal function]: Ddeboer\Transcoder\MbTranscoder->Ddeboer\Transcoder\{closure}(2, 'mb_convert_enco...', '/var/www/projec...', 62, Array) #1 /var/www/projects/autoorders/vendor/ddeboer/transcoder/src/MbTranscoder.php(62): mb_convert_encoding('\xC0\xC2\xD2\xCE\xCE\xCB\xC8\xCC\xCF_0609_...', 'UTF-8', 'auto') #2 /var/www/projects/autoorders/vendor/ddeboer/transcoder/src/Transcoder.php(29): Ddeboer\Transcoder\MbTranscoder->transcode('\xC0\xC2\xD2\xCE\xCE\xCB\xC8\xCC\xCF_0609_...', 'auto', NULL) #3 /var/www/projects/autoorders/vendor/ddeboer/imap/src/Parameters.php(41): Ddeboer\Transcoder\Transcoder->transcode('\xC0\xC2\xD2\xCE\xCE\xCB\xC8\xCC\xCF_0609_...', 'auto') #4 /var/www/projects/autoorders/vendor/ddeboer/ in /var/www/projects/autoorders/vendor/ddeboer/transcoder/src/MbTranscoder.php on line 47

@Slamdunk Slamdunk added the bug label Sep 22, 2017
Slamdunk added a commit that referenced this issue Sep 27, 2017
Message charset: mb_convert_encoding + aliases
Closes #78 #85 #115 #132 #136 #158 #165 #171 #174 #176
@Slamdunk Slamdunk added this to the 1.0 milestone Sep 27, 2017
@Slamdunk
Copy link
Collaborator

Thank you for your feedback, the issue has been fixed in #196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants