Displaying 3 results from an estimated 3 matches for "content_charset".
2014 May 12
0
message-decoder bug for attachments with charset=binary attribute in content-type?
...ing code in file dovecot-2.1.7/src/lib-mail/message-decoder.c on line 241
with new one, the dovecots message decoder decodes message correctly and
pdftotext can convert attached PDF.
Original code:
============================================================
241: ctx->binary_input = ctx->content_charset == NULL &&
242: (ctx->flags & MESSAGE_DECODER_FLAG_RETURN_BINARY) != 0 &&
243: (part->flags & (MESSAGE_PART_FLAG_TEXT |
244: MESSAGE_PART_FLAG_MESSAGE_RFC822)) == 0;
============================================================
My update:
=============...
2005 Dec 19
0
alpha5: assert and core
...cal_size = 909, virtual_size = 909, lines = 0},
body_size = {physical_size = 384, virtual_size = 390, lines = 6},
flags = 72, context = 0x0}
(gdb) print part_ctx
$4 = {body_ctx = 0xffbff3d4, translation = 0x0, decode_buf = 0x0,
match_buf = 0x0, content_type = 0xab510 "text/plain",
content_charset = 0xab4f8 "US-ASCII", content_qp = 0, content_base64 = 0,
content_unknown = 0, content_type_text = 1, ignore_header = 1}
(gdb) quit
2005 Dec 22
1
alpha5: (message_body_search_ctx) assert
...ical_size = 168,
virtual_size = 168, lines = 0}, body_size = {physical_size = 20014, virtual_size = 20662, lines = 647},
flags = MESSAGE_PART_FLAG_TEXT, context = 0x0}
(gdb) print part_ctx
$5 = {body_ctx = 0xffbff3dc, translation = 0x0, decode_buf = 0x0, match_buf = 0x0, content_type = 0x0,
content_charset = 0x0, content_qp = 0, content_base64 = 0, content_unknown = 0, content_type_text = 1,
ignore_header = 1}
(gdb) print input->v_offset
$6 = 198
(gdb) print part->header_size.physical_size
$7 = 168
(gdb) quit