-
Notifications
You must be signed in to change notification settings - Fork 459
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
Smiles\emojis cause damage #232
Comments
Me too. |
I've added some PHPUnit tests - all is working fine as expected. The problem is, that you need the server encoding So, if you use So we maybe should just decode such fields like |
Fixed with above referenced commit. Will be included in the next release. |
- Updated comments, made code a bit more dynamic, used setAttachmentsDir() in constructor - Added condition for setting attachments dir in constructor - Issue #232: Added test strings with emojis (smiles) to PHPUnit test - Issue #232: Added strings to test decodeMimeStr() in PHPUnit test with non-UTF8 server encoding - Issue #232: Fixed broken UTF-8 decoded strings, when not using UTF-8 as server encoding - Issue #265: Added string to test iconv() in PHPUnit test - Issue #274: Some strings with default charset had UTF-8 characters and failed to convert
I have email subject like:
This part
=F0=9F=98=98
is a emoji and it will case errorMime string encoding conversion failed
in methodconvertStringEncoding()
which is called bydecodeMimeStr()
The text was updated successfully, but these errors were encountered: