Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2002 11:46:13 +0200 (CEST)
From:      Matthias Andree <matthias.andree@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42825: Pan breaks MIME charset headers (FreeBSD specific) 
Message-ID:  <200209160946.g8G9kDDR000296@libertas.emma.line.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209160946.g8G9kDDR000296>