[jdev] BOM

Peter Saint-Andre stpeter at stpeter.im
Thu Nov 13 17:35:19 CST 2008


Waqas Hussain wrote:
> On Fri, Nov 7, 2008 at 11:06 AM, Jonathan Dickinson
> <jonathan.dickinson at k2.com> wrote:
>>> -----Original Message-----
>>> From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of Peter Saint-Andre
>>> Sent: 07 November 2008 01:51 AM
>>> To: Jabber/XMPP software development list
>>> Subject: Re: [jdev] BOM
>>>
>>> Jonathan Dickinson wrote:
>>>> Much obliged. As a case of interopability, maybe something like:
>>>> entities MUST NOT send byte order marks, however, they MUST tolerate
>>>> them.
>>>  I'm not sure exactly what "tolerate" means.
>> Receiving entities shouldn't fall over when they get a BOM at the start of the stream: like the clients that I used to test my server did.
>>
>> -- Jonathan
> 
> Considering that no servers send out BOMs, and pretty much no clients
> do either, I don't really see much point in requiring all XMPP
> software to handle BOMs.

Having done a bit more research, my position is now this: given that
XMPP is UTF-8 and that UTF-8 always has the same byte order, why would
we ever need to include or support a byte order mark in XMPP?

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




More information about the JDev mailing list