Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

further BOM clarification

git-svn-id: svn://svn.xmpp.org:7938/xmpp/trunk@2513 4b5297f7-1745-476d-ba37-a9c6900126ab
  • Loading branch information...
commit e466b5d929bb3e055f33df17f7c3a67016c79e50 1 parent b8912f7
@stpeter stpeter authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  internet-drafts/draft-saintandre-rfc3920bis-09.xml
View
2  internet-drafts/draft-saintandre-rfc3920bis-09.xml
@@ -3688,7 +3688,7 @@ S2: </stream:stream>
<section title="Character Encoding" anchor="xml-encoding">
<t>Implementations MUST support the UTF-8 transformation of Universal Character Set <xref target="UCS2"/> characters, as required by <xref target="CHARSET"/> and defined in <xref target='UTF-8'/>. Implementations MUST NOT attempt to use any other encoding. If one party to an XML stream detects that the other party has attempted to send XML data with an encoding other than UTF-8, it MUST return a stream error, which SHOULD be &lt;unsupported-encoding/&gt; but MAY be &lt;bad-format/&gt;.</t>
- <t>Note: Because it is mandatory for an XMPP implementation to support all and only the UTF-8 encoding and because UTF-8 always has the same byte order, an implementation MUST NOT send a byte order mark ("BOM") at the beginning of the data stream.</t>
+ <t>Note: Because it is mandatory for an XMPP implementation to support all and only the UTF-8 encoding and because UTF-8 always has the same byte order, an implementation MUST NOT send a byte order mark ("BOM") at the beginning of the data stream. If an entity receives the Unicode character U+FEFF anywhere in an XML stream (including as the first character of the stream), it MUST interpret that character as a zero width no-break space, not as a byte order mark.</t>
</section>
<section title="Whitespace" anchor="xml-whitespace">
Please sign in to comment.
Something went wrong with that request. Please try again.