Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 76D45200B51 for ; Mon, 1 Aug 2016 21:22:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 756B5160A6C; Mon, 1 Aug 2016 19:22:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 96E4E160A66 for ; Mon, 1 Aug 2016 21:22:06 +0200 (CEST) Received: (qmail 13477 invoked by uid 500); 1 Aug 2016 19:22:05 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 13467 invoked by uid 99); 1 Aug 2016 19:22:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2016 19:22:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 301F0C63E0 for ; Mon, 1 Aug 2016 19:22:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rowe-clan-net.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id S-WYVjrY57y7 for ; Mon, 1 Aug 2016 19:22:04 +0000 (UTC) Received: from mail-it0-f43.google.com (mail-it0-f43.google.com [209.85.214.43]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 976D05F4EA for ; Mon, 1 Aug 2016 19:22:03 +0000 (UTC) Received: by mail-it0-f43.google.com with SMTP id j124so182271477ith.1 for ; Mon, 01 Aug 2016 12:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rowe-clan-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=asvdAbEcYGydxV/g9OgrrPydhYZ5P/npHr57mvs6JG4=; b=cw8ILmE9mmb6Bap42Jqvx84of5R5Xpq7PCER4K9026sA7Sq6L6kic9IkEJeDfyTwpb afwfIIsc6AglfpI/jv92QDia2+pU2T/++OH5vyAscsqfvZCf+GGnTYbjtA9WsG2RRW42 WBgUr8K5jsP7dZxTOuyHoNKVCfGhadljIjpF7MymngMvwzJVk2bOtg7sIKpa8ARvLRXW LUt0JGnJIfmyAXk42U/dOCZNrDzWa1emFziIpmxUYmfOWhQxuxlZWClkTQrWKmd3s6Va 9QBTDQjR/Rgi3a49XuZYfx/q2LOsMnMIPLfKzU6P5uDcXgSMYIepDXyrH4QZremdB3wA 4L6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=asvdAbEcYGydxV/g9OgrrPydhYZ5P/npHr57mvs6JG4=; b=cEOs5l5JCClIHO8sVnsRxeAnOVj4Kx+lcnqveb3avS0oDntqxjRurSNA+r4rZ9aKYk qSStxSHo+uFwT11ipgRPaKFFMV+T8LCc0ym3+CVLYrSG+3lKnnaK8+GpShMryYZ4SqVi fGZf/rVWphPihzrbXXy2fjjmOP1jClSjMuhAx2fl39Fc4Fa+6WPRUiW8J+qnBByjSoDj LaSSk/3TWC+KTqNHG/nx4XLH35VvvDjdlmCoFaMVoO2NF2r4Ab9KnrWyc6dZwmCWySFh hcAnOmy1RkY8FgLvPbD9xX0LvATZGfSFxBrLxd327wj6s2G4Woaekyu5+aNuc8NDcJEi GucQ== X-Gm-Message-State: AEkoouuiFgTbAM3t+EX2BFPT2I5ldIPKCmHG8GCxE0FvgM7m7HjSGevm7M/HIV0VtNWmVaf2GCGVPjV4PYdYi1mp X-Received: by 10.36.39.77 with SMTP id g74mr14620400ita.51.1470079322271; Mon, 01 Aug 2016 12:22:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.6.85 with HTTP; Mon, 1 Aug 2016 12:22:01 -0700 (PDT) In-Reply-To: References: <20160729220052.29A973A0056@svn01-us-west.apache.org> From: William A Rowe Jr Date: Mon, 1 Aug 2016 14:22:01 -0500 Message-ID: Subject: Re: svn commit: r1754579 - /httpd/httpd/trunk/server/gen_test_char.c To: httpd Content-Type: multipart/alternative; boundary=001a11474b8ccc0f9d053907830a archived-at: Mon, 01 Aug 2016 19:22:07 -0000 --001a11474b8ccc0f9d053907830a Content-Type: text/plain; charset=UTF-8 On Mon, Aug 1, 2016 at 2:08 PM, Eric Covener wrote: > The mainframe guys say it's an unfortunate but intentional > working-as-designed fudge of the iconv results to make the preferred > line separator (0x15)map to/from 0x0A. Seems like safest would be to > not use a table for conversion but instead go through the same iconv > that we're using to convert the data? We have a few choices, but the bottom line is that we treat /r/n as 0x0a 0x15 on ebcdic, and perhaps fix our iconv mapping. Choice 1; map both 0x15 and 0x37 to ASCII 0x0d, which grows the number of ascii equivalents by one. Both would be treated at CTRL. Choice 2; invert our current mapping, ASCII NL to EBCDIC LF and visa-versa. That would leave 0x37 'unguarded' and allowed as opaque text chars. Choice 3; treat the entire C1 codeplane on EBCDIC as CTRLs, and ignore some 32 'opaque bytes' as unsupportable. Thoughts? --001a11474b8ccc0f9d053907830a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On M= on, Aug 1, 2016 at 2:08 PM, Eric Covener <covener@gmail.com>= wrote:
The mainframe guys say it's a= n unfortunate but intentional
working-as-designed fudge of the iconv results to make the preferred
line separator (0x15)map to/from 0x0A.=C2=A0 Seems like safest would be to<= br> not use a table for conversion but instead go through the same iconv
that we're using to convert the data?

W= e have a few choices, but the bottom line is that we treat /r/n
a= s 0x0a 0x15 on ebcdic, and perhaps fix our iconv mapping.

Choice 1; map both 0x15 and 0x37 to ASCII 0x0d, which grows the
number of ascii equivalents by one. Both would be treated at CTRL.

Choice 2; invert our current mapping, ASCII NL to E= BCDIC LF and
visa-versa. That would leave 0x37 'unguarded'= ; and allowed as opaque
text chars.

Choi= ce 3; treat the entire C1 codeplane on EBCDIC as CTRLs, and
ignor= e some 32 'opaque bytes' as unsupportable.

Thoughts?



--001a11474b8ccc0f9d053907830a--