Re: [xml-dev] Re: Binary Encoding using Base64

From
Karl Waclawek <>
To
Date
2003-01-27T18:29:49Z
ID
<005101c2c632$1360ca50$9e539696@citkwaclaww2k>
Thread
Re: [xml-dev] Re: Binary Encoding using Base64
> > contrary to the Base64 encoding spec, Microsoft embeds <cr><lf> characters 
> > in the output.
> 
> What spec says linebreaks are not allowed in base64?
> /r$

Actually, line breaks are required. The spec says:

<quote>
The encoded output stream must be represented in lines of no more
than 76 characters each.  All line breaks or other characters not
found in Table 1 must be ignored by decoding software.
</quote>

And furthermore, any other character should simply be ignored,
i.e. not cause an error to be returned.

Karl