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

Encoding problem #81

Open
Suncatcher opened this issue May 4, 2018 · 9 comments
Open

Encoding problem #81

Suncatcher opened this issue May 4, 2018 · 9 comments

Comments

@Suncatcher
Copy link

Suncatcher commented May 4, 2018

I set up forwarder on AWS and now it forwards messages to Yahoo mail. All is fine except that sometimes I receive such abracadabra messages with messed encoding

пїЅoпїЅпїЅпїЅпїЅпїЅ пїЅpпїЅпїЅпїЅпїЅ! 
пїЅoпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅ пїЅ пїЅпїЅcпїЅпїЅпїЅaпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅ пїЅoпїЅпїЅпїЅпїЅ! 
9 пїЅaпїЅ пїЅ пїЅпїЅпїЅпїЅuпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅeпїЅпїЅпїЅпїЅпїЅ "пїЅпїЅпїЅпїЅпїЅпїЅpпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅ". пїЅпїЅпїЅпїЅoпїЅпїЅпїЅпїЅ пїЅoпїЅпїЅпїЅпїЅпїЅ пїЅaпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ. 
пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ, пїЅcпїЅпїЅ пїЅoпїЅпїЅпїЅпїЅ пїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ/пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅ пїЅaпїЅ пїЅпїЅпїЅпїЅa - пїЅaпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅpпїЅ, пїЅaпїЅпїЅoпїЅaпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅ пїЅoпїЅпїЅпїЅпїЅпїЅeпїЅпїЅпїЅпїЅ пїЅпїЅeпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅ. 
пїЅпїЅпїЅпїЅ пїЅ пїЅaпїЅ пїЅпїЅ пїЅпїЅoпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅcпїЅпїЅпїЅпїЅ, пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅeпїЅпїЅ пїЅ пїЅaпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ-oпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ. 
пїЅпїЅпїЅaпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅeпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅpпїЅпїЅпїЅ, пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ, пїЅaпїЅпїЅ пїЅпїЅпїЅ c пїЅпїЅпїЅпїЅ. 
пїЅпїЅпїЅoпїЅпїЅпїЅпїЅ! пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅo пїЅaпїЅпїЅ пїЅaпїЅпїЅпїЅпїЅ cпїЅпїЅпїЅaпїЅ - пїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅaпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ. 

пїЅпїЅпїЅoпїЅпїЅaпїЅпїЅпїЅ oпїЅ пїЅпїЅпїЅпїЅпїЅ "пїЅeпїЅcпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅoпїЅпїЅ пїЅпїЅpauпїЅпїЅ": polkua.com

Previously they were getting to my mailbox from the single sender and I thought it's a matter of this concrete sender, but now I received similar message from couple of other senders. I suspect that messages are messed during AWS Lambda forwarding. How can I check this hypothesis?
Do original messages are saved anywhere on AWS so I can check if they break before or after?
Or maybe it's a problem of Yahoo?

@Suncatcher
Copy link
Author

Also I observe such kind of encoding mess:

image

I strongly suspect that it is a forwarder issue, 'cause I never received such things to those forwarded email directly.

@Suncatcher
Copy link
Author

Does forwarder fully support Unicode?

@jakubboucek
Copy link
Contributor

Does forwarder fully support Unicode?

It should be, because Node.js is support Unicode and forwarder is not touch the content of message body.

@jakubboucek
Copy link
Contributor

Please check the message saved in S3, open it and found all lines begins with Content-Type: and Content-Transfer-Encoding:. And next do same thing in message delivered to your inbox.

@Suncatcher
Copy link
Author

It shows:

Content-Type: multipart/alternative;
	boundary="b1_f9f245e8bd726478e0c11a2992ef21ff"
Content-Transfer-Encoding: 8bit

--b1_f9f245e8bd726478e0c11a2992ef21ff
Content-Type: text/plain; charset=cp1251
Content-Transfer-Encoding: 8bit

However, as you see in message file in S3 text is showed properly

image

@Suncatcher
Copy link
Author

And in Yahoo web-mail it also showed incorrectly. I assume it's messed in Forwarder

@Suncatcher
Copy link
Author

It's definitely forwarder problem. I observe this in messages from different senders.

@amertak
Copy link

amertak commented Mar 23, 2021

@Suncatcher I think I have a fix for this.

#131

@Suncatcher
Copy link
Author

@amertak thank you!

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

No branches or pull requests

3 participants