Return-Path: X-Original-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4A7BB69E for ; Mon, 16 Jan 2012 12:27:17 +0000 (UTC) Received: (qmail 52856 invoked by uid 500); 16 Jan 2012 12:27:17 -0000 Delivered-To: apmail-incubator-ooo-issues-archive@incubator.apache.org Received: (qmail 52805 invoked by uid 500); 16 Jan 2012 12:27:17 -0000 Mailing-List: contact ooo-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-issues@incubator.apache.org Delivered-To: mailing list ooo-issues@incubator.apache.org Received: (qmail 52797 invoked by uid 99); 16 Jan 2012 12:27:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2012 12:27:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.123] (HELO sif.zones.apache.org) (140.211.11.123) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2012 12:27:14 +0000 Received: by sif.zones.apache.org (Postfix, from userid 80) id ABE0D2BA0; Mon, 16 Jan 2012 12:26:53 +0000 (UTC) From: bugzilla@apache.org To: ooo-issues@incubator.apache.org Subject: DO NOT REPLY [Bug 118791] XMailMessage attachment unusable if file name (ReadableName) contains non-ASCII characters Date: Mon, 16 Jan 2012 12:26:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: api X-Bugzilla-Component: definition X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arielch@apache.org X-Bugzilla-Status: STARTED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: arielch@apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/ooo/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/ooo/show_bug.cgi?id=118791 --- Comment #3 from Ariel Constenla-Haile 2012-01-16 12:26:52 UTC --- @DonJaime: please replace ${ROOT_INST_DIR}/openoffice.org/basis3.${MINOR}/program/mailmerge.py with the one attached in this bug (first back-up the original one). The fix to this issue is encoding the ReadableName to utf-8: msgattachment.add_header(\ 'Content-Disposition', \ 'attachment', \ filename=('utf-8','',attachment.ReadableName.encode('utf-8'))) -- Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.