Re: [Tools-discuss] Serving markdown as text/markdown ➔ mojibake
Robert Sparks <rjsparks@nostrum.com> Wed, 05 August 2020 16:15 UTC
Return-Path: <rjsparks@nostrum.com>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B2323A0C7C; Wed, 5 Aug 2020 09:15:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.416
X-Spam-Level:
X-Spam-Status: No, score=-2.416 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, KHOP_HELO_FCRDNS=0.212, NICE_REPLY_A=-0.949, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=nostrum.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8-PhshI_4Piw; Wed, 5 Aug 2020 09:15:48 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1F873A0C69; Wed, 5 Aug 2020 09:15:48 -0700 (PDT)
Received: from unescapeable.local ([47.186.30.41]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id 075GFiaa079002 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 5 Aug 2020 11:15:45 -0500 (CDT) (envelope-from rjsparks@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1596644146; bh=F+H30qSkJT4DOkUvFjiIwmCbY5OHEojpSAjiB85NavA=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=b+BzksrtMqm0BdeHYsS9TFDegZGLfuoVX7usw/JjYFUMBOtm6KYCZl9F7CY/ikZST IvPUmx5wH32QawcyXBCJmEhymHCZ3PdbG3ZSzu8JOs6vdg7rhC3/knnGsBcXfmtxC6 yKFaSBcxFFNr5BiTCydnQkSU596vLVr1jYJt4ug4=
X-Authentication-Warning: raven.nostrum.com: Host [47.186.30.41] claimed to be unescapeable.local
To: Tom Pusateri <pusateri=40bangj.com@dmarc.ietf.org>, Carsten Bormann <cabo@tzi.org>
Cc: Tools Discussion <Tools-discuss@ietf.org>
References: <446911DB-C831-4376-9F3B-C017FF44679B@tzi.org> <7A5D4D76-9251-4B6B-95A0-836D1CBFBFC1@bangj.com>
From: Robert Sparks <rjsparks@nostrum.com>
Message-ID: <e5c9bb38-04b1-5d6b-3572-96d482d99ff9@nostrum.com>
Date: Wed, 05 Aug 2020 11:15:44 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <7A5D4D76-9251-4B6B-95A0-836D1CBFBFC1@bangj.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/3b1DX826P2C3GYXqwAdwpdzZoOk>
Subject: Re: [Tools-discuss] Serving markdown as text/markdown ➔ mojibake
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2020 16:15:50 -0000
This was an apache tweak rather than a datatracker change (as it was at www.ietf.org). The tweak has been made. RjS On 8/4/20 10:29 AM, Tom Pusateri wrote: >> On Aug 4, 2020, at 10:42 AM, Carsten Bormann <cabo@tzi.org> wrote: >> >> I get mojibake in https://www.ietf.org/proceedings/interim-2020-maprg-01/agenda/agenda-interim-2020-maprg-01-sessa-00 >> >> It seems browsers (tested with Safari and Chrome) assume Latin-1 for >> >> $ curl -sI https://www.ietf.org/proceedings/interim-2020-maprg-01/agenda/agenda-interim-2020-maprg-01-sessa-00 | grep -i content-type: >> content-type: text/markdown >> >> https://www.iana.org/assignments/media-types/text/markdown says: >> >> Required parameters: >> >> charset: Per Section 4.2.1 of [RFC6838], charset is REQUIRED. There >> is no default value because neither [MDSYNTAX] nor many popular >> implementations at the time of this registration do either. >> [MDSYNTAX] clearly describes Markdown as a "writing format"; its >> syntax rules operate on characters (specifically, on punctuation) >> rather than code points. Many Markdown processors will get along >> just fine by operating on characters in the US-ASCII repertoire >> (specifically punctuation), blissfully oblivious to other >> characters or codes. >> >> Please change >> >> content-type: text/markdown >> into >> content-type: text/markdown; charset=utf-8 >> >> Grüße, Carsten > I will look at this one. > > Tom > > ___________________________________________________________ > Tools-discuss mailing list > Tools-discuss@ietf.org > https://www.ietf.org/mailman/listinfo/tools-discuss > > Please report datatracker.ietf.org and mailarchive.ietf.org > bugs at http://tools.ietf.org/tools/ietfdb > or send email to datatracker-project@ietf.org > > Please report tools.ietf.org bugs at > http://tools.ietf.org/tools/issues > or send email to webmaster@tools.ietf.org
- [Tools-discuss] Serving markdown as text/markdown… Carsten Bormann
- Re: [Tools-discuss] Serving markdown as text/mark… Tom Pusateri
- Re: [Tools-discuss] Serving markdown as text/mark… Carsten Bormann
- Re: [Tools-discuss] Serving markdown as text/mark… Robert Sparks