From owner-freebsd-ports Mon Sep 16 2:50: 9 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08F5A37B401 for ; Mon, 16 Sep 2002 02:50:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CF8243E75 for ; Mon, 16 Sep 2002 02:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8G9o4JU040952 for ; Mon, 16 Sep 2002 02:50:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8G9o4WK040951; Mon, 16 Sep 2002 02:50:04 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 348E737B400 for ; Mon, 16 Sep 2002 02:46:23 -0700 (PDT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.uni-dortmund.de [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CFB43E65 for ; Mon, 16 Sep 2002 02:46:22 -0700 (PDT) (envelope-from matthias.andree@web.de) Received: from m2a2.myip.org (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 4E35BA3831 for ; Mon, 16 Sep 2002 11:46:20 +0200 (CEST) Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.0.2]) by merlin.emma.line.org (Postfix) with ESMTP id A60C3911 for ; Mon, 16 Sep 2002 11:46:16 +0200 (CEST) Received: from libertas.emma.line.org (localhost [127.0.0.1]) by libertas.emma.line.org (8.12.6/8.12.6) with ESMTP id g8G9kG6H000297 for ; Mon, 16 Sep 2002 11:46:16 +0200 (CEST) (envelope-from emma@libertas.emma.line.org) Received: (from emma@localhost) by libertas.emma.line.org (8.12.6/8.12.6/Submit) id g8G9kDDR000296; Mon, 16 Sep 2002 11:46:13 +0200 (CEST) Message-Id: <200209160946.g8G9kDDR000296@libertas.emma.line.org> Date: Mon, 16 Sep 2002 11:46:13 +0200 (CEST) From: Matthias Andree Reply-To: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42825: Pan breaks MIME charset headers (FreeBSD specific) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42825 >Category: ports >Synopsis: Pan breaks MIME charset headers (FreeBSD specific) >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 16 02:50:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: >Environment: System: FreeBSD libertas.emma.line.org 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #1: Sat Sep 14 04:14:33 CEST 2002 toor@libertas.emma.line.org:/usr/src/sys/compile/LIBERTAS i386 >Description: When Pan is used in localized environments, say, German, it emits BROKEN character set declarations in postings. It writes headers like these: MIME-Version: 1.0 Content-Type: text/plain; charset=iso8859-15 It should have written ...charset=iso-8859-15 instead. (mind the dash). This must be attributed to FreeBSD's horrendously wrong decision to use X11 character set names for localization, which breaks compatibility, and harms portability. Impact: Pan postings don't get the non-ASCII characters of ISO 8859 right. This leads to a mutilation of the article display in other software. >How-To-Repeat: >Fix: Solutions: * fix FreeBSD to use proper locale names * failing that, add code to Pan (backport from Pan2 which does the right thing?) to normalize these charset declarations from FreeBSD's locale to use IANA- registered charset names instead. * remove the Pan port (not recommended) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message