[
https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023471#comment-13023471
]
Dmitry edited comment on JAMES-1222 at 4/23/11 12:38 AM:
---------------------------------------------------------
File 'mail.txt' is windows-1251 encoded. I see no square signs in the body. I
see plain cyrillic text in the body. If I change this encoding to UTF-8 in the
viewer, I see the square signs in the body. With windows-1252 you see
international letters (german umlauts etc) instead of cyrillic letters.
But what is the "raw content" in this case? The question marks are in the
headers "From" and "Subject". There WAS plain cyrillic text (8-bit) BEFORE
delivery to JAMES. After the delivery in the PostgreSQL database are the
question marks. In the "raw content" through IMAP too.
To clarify I attached the same file re-encoded in UTF-8 ("mail_UTF-8.txt").
was (Author: rgstinboxru):
File 'mail.txt' is windows-1251 encoded. I see no square signs in the body.
I see plain cyrillic text in the body. If I change this encoding to UTF-8 in
the viewer, I see the square signs in the body. With windows-1252 you see
international letters (german umlauts etc) instead of cyrillic letters.
But what is "raw content" in this case? The question marks are in headers
"From" and "Subject". There WAS plain cyrillic text (8-bit) before delivery to
JAMES. After the delivery in the PostgreSQL database are the question marks. In
the "raw content" through IMAP too.
To clarify I attached the same file re-encoded in UTF-8 ("mail_UTF-8.txt").
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
> Key: JAMES-1222
> URL: https://issues.apache.org/jira/browse/JAMES-1222
> Project: JAMES Server
> Issue Type: Bug
> Affects Versions: 3.0-M3
> Environment: Windows XP
> Reporter: Dmitry
> Assignee: Norman Maurer
> Attachments: mail.txt, mail_UTF-8.txt
>
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above
> 127 must be encoded. But more then 10 percent of real e-mails have
> 8-bit-characters in headers (not only spam! very popular forum engines send
> 8-bit headers in mails).
> If JAMES has received such mails with 8-bit characters in headers and they
> are on server, I can not get ALL mails (RFC compliant and not compliant)
> through POP3: error 0x800CCC19 in Outlook Express (timeout) or error
> 0x8004210A in MS Outlook ('The operation timed out waiting for a response
> from the receiving (POP) server...')
> Through IMAP I get all mails. Messages that are not compliant to RFC have
> question marks in their headers in IMAP folders.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]