Днешната сесия за въпроси и отговори ни идва с любезното съдействие на SuperUser - подразделение на Stack Exchange - обединяване на уеб сайтове с въпроси и отговори.
Снимката е предоставена от Джудит Е. Бел (Flickr).
Въпроса
Драйверът на SuperUser dpdt иска да разбере защо е получил имейл с нелегален заглавие:
I recently received an email with the following title:
Защо някои имейли имат безсмислени струни от символи като заглавки?
Отговорът
Потребителят на SUPERUser user313114 има отговора за нас:
What you have is some header text encoded with a failed attempt at RFC 2047.
RFC 2047 is the standard governing the embedding of non-ASCII characters in email headers. It says that headers which do not comply (exactly) with the RFC 2047 standard should be displayed as-is rather than any decoding being attempted. So your email software is seeing the bad header and displaying it “correctly” (as required by the standard).
No mainstream software flouts RFC 2047 so badly as that, so it is probably coming from some dodgy bulk mailing software. The software is making encoded words too long (the line length limit is 76 characters), which is forbidden (RFC 2047 says “MUST NOT”).
Despite being too long, it can be decoded manually. It looks like some sort of recruiter spam:
Имате ли нещо, което да добавите към обяснението? Звучи в коментарите. Искате ли да прочетете повече отговори от други потребители на Stack Exchange? Вижте цялата тема на дискусията тук.