Date: Mon, 12 Oct 2020 08:40:21 -0400
That addresses my main concern. Essentially, best practice (for UTF-8) would be no BOM unless the document contains code points that require multiple code units to express.
AlisdairM
> On Oct 11, 2020, at 23:22, Tom Honermann <tom_at_[hidden]> wrote:
>
> On 10/10/20 7:58 PM, Alisdair Meredith via SG16 wrote:
>> One concern I have, that might lead into rationale for the current discouragement,
>> is that I would hate to see a best practice that pushes a BOM into ASCII files.
>> One of the nice properties of UTF-8 is that a valid ASCII file (still very common) is
>> also a valid UTF-8 file. Changing best practice would encourage updating those
>> files to be no longer ASCII.
> Thanks, Alisdair. I think that concern is implicitly addressed by the suggested resolutions, but perhaps that can be made more clear. One possibility would be to modify the "protocol designer" guidelines to address the case where a protocol's default encoding is ASCII based and to specify that a BOM is only required for UTF-8 text that contains non-ASCII characters. Would that be helpful?
>
> Tom.
>
>>
>> AlisdairM
>>
>>> On Oct 10, 2020, at 14:54, Tom Honermann via SG16 <sg16_at_[hidden] <mailto:sg16_at_[hidden]>> wrote:
>>>
>>> Attached is a draft proposal for the Unicode standard that intends to clarify the current recommendation regarding use of a BOM in UTF-8 text. This is follow up to discussion on the Unicode mailing list <https://corp.unicode.org/pipermail/unicode/2020-June/008713.html> back in June.
>>>
>>> Feedback is welcome. I plan to submit <https://www.unicode.org/pending/docsubmit.html> this to the UTC in a week or so pending review feedback.
>>>
>>> Tom.
>>>
>>> <Unicode-BOM-guidance.pdf>--
>>> SG16 mailing list
>>> SG16_at_[hidden] <mailto:SG16_at_[hidden]>
>>> https://lists.isocpp.org/mailman/listinfo.cgi/sg16 <https://lists.isocpp.org/mailman/listinfo.cgi/sg16>
>>
>>
>
AlisdairM
> On Oct 11, 2020, at 23:22, Tom Honermann <tom_at_[hidden]> wrote:
>
> On 10/10/20 7:58 PM, Alisdair Meredith via SG16 wrote:
>> One concern I have, that might lead into rationale for the current discouragement,
>> is that I would hate to see a best practice that pushes a BOM into ASCII files.
>> One of the nice properties of UTF-8 is that a valid ASCII file (still very common) is
>> also a valid UTF-8 file. Changing best practice would encourage updating those
>> files to be no longer ASCII.
> Thanks, Alisdair. I think that concern is implicitly addressed by the suggested resolutions, but perhaps that can be made more clear. One possibility would be to modify the "protocol designer" guidelines to address the case where a protocol's default encoding is ASCII based and to specify that a BOM is only required for UTF-8 text that contains non-ASCII characters. Would that be helpful?
>
> Tom.
>
>>
>> AlisdairM
>>
>>> On Oct 10, 2020, at 14:54, Tom Honermann via SG16 <sg16_at_[hidden] <mailto:sg16_at_[hidden]>> wrote:
>>>
>>> Attached is a draft proposal for the Unicode standard that intends to clarify the current recommendation regarding use of a BOM in UTF-8 text. This is follow up to discussion on the Unicode mailing list <https://corp.unicode.org/pipermail/unicode/2020-June/008713.html> back in June.
>>>
>>> Feedback is welcome. I plan to submit <https://www.unicode.org/pending/docsubmit.html> this to the UTC in a week or so pending review feedback.
>>>
>>> Tom.
>>>
>>> <Unicode-BOM-guidance.pdf>--
>>> SG16 mailing list
>>> SG16_at_[hidden] <mailto:SG16_at_[hidden]>
>>> https://lists.isocpp.org/mailman/listinfo.cgi/sg16 <https://lists.isocpp.org/mailman/listinfo.cgi/sg16>
>>
>>
>
Received on 2020-10-12 07:40:26