From: Albin Stjerna Date: Sat, 5 Jan 2013 08:54:03 +0000 (+0100) Subject: Unicode characters are incorrectly reproduced when forwarding mail X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8ebc9a89bf8bc48513ae823a205082ace9e24183;p=notmuch-archives.git Unicode characters are incorrectly reproduced when forwarding mail --- diff --git a/b7/86c12404e84903d3099e6c8aaff9613321724d b/b7/86c12404e84903d3099e6c8aaff9613321724d new file mode 100644 index 000000000..8a42fddb2 --- /dev/null +++ b/b7/86c12404e84903d3099e6c8aaff9613321724d @@ -0,0 +1,81 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 84134431FAF + for ; Sat, 5 Jan 2013 00:54:13 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id EtqFsJr5w2UC for ; + Sat, 5 Jan 2013 00:54:13 -0800 (PST) +Received: from mail-la0-f41.google.com (mail-la0-f41.google.com + [209.85.215.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id CD544431FAE + for ; Sat, 5 Jan 2013 00:54:12 -0800 (PST) +Received: by mail-la0-f41.google.com with SMTP id em20so11118737lab.0 + for ; Sat, 05 Jan 2013 00:54:11 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:from:to:cc:subject:user-agent:date:message-id + :mime-version:content-type:content-transfer-encoding; + bh=QZ9DCSJT94Y3hSPAA3M1R++Dg6UyAa6/gFRnx0iVS/w=; + b=Xa49MMtqGE+joP3bZAX8pvVQJXm/+pOlPhL08BtA9popVRRxVdaiOk7CiRTXeuHw96 + oDIygbnwDws0nlSajW8yokM4nW/2kqc9wXywchuhURHmMREhpjOMshCqB56H9YF34cmD + e9l9MUytcqhPA6E97njLk/4nDwFB1WkML5Kklhd3fn7oih/BYhlAKlKycZy81N3wBx27 + 0O/s7wjNFYsfe4vYGkieRGEp1MORzyYBqJqLDw5K1A9uXCYiiqPkoeG2T5RXS/h31WoJ + uqqK26Gqew6K5D8Y6iqrD7W6vBvhjW9eeSiZuJiwDiieO/w4/TZY7zoAuyKn+QQsQf6K + 5SNw== +X-Received: by 10.112.28.9 with SMTP id x9mr22263814lbg.27.1357376049921; + Sat, 05 Jan 2013 00:54:09 -0800 (PST) +Received: from hecate (nl110-96-173.student.uu.se. [130.242.96.173]) + by mx.google.com with ESMTPS id fh4sm18641036lbb.7.2013.01.05.00.54.07 + (version=TLSv1/SSLv3 cipher=OTHER); + Sat, 05 Jan 2013 00:54:08 -0800 (PST) +From: Albin Stjerna +To: Notmuch Mail Mailing List +Cc: +Subject: Unicode characters are incorrectly reproduced when forwarding mail +User-Agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/24.3.50.1 + (x86_64-pc-linux-gnu) +Date: Sat, 05 Jan 2013 09:54:03 +0100 +Message-ID: <8738yg3t90.fsf@hecate.student.uu.se> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 05 Jan 2013 08:54:13 -0000 + +Hi! + +When forwarding an email containing (what I think is) unicode characters (p= +rimarily umlauts), these are incorrectly re-entered as strange escaped char= +acters (=C3=A4 becomes \344, =C3=A5 becomes \345 and so on). Then, when I t= +ry to send the email, I get an error about the message containing unprintab= +le characters. + +Interestingly enough, this problem does not occur in the headers (Subject, = +>From etc), and the problem does not occur at all when quoting messages via = +notmuch-reply. Also, it doesn't happen for all email messages, so it might = +be an issue with the encoding. I think a common denominator for the un-forw= +ardable messages is that they contain no charset=3D declaration, though the= +y still render just fine. + +Any help debugging would be greatly appreciated!