[wp-trac] Re: [WordPress Trac] #6701: XmlRpc responses truncated
due to UTF-8 BOM
WordPress Trac
wp-trac at lists.automattic.com
Mon May 19 19:07:15 GMT 2008
#6701: XmlRpc responses truncated due to UTF-8 BOM
-----------------------------------+----------------------------------------
Reporter: aaron.oneal | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: XML-RPC | Version: 2.5
Severity: normal | Resolution:
Keywords: UTF-8 BOM Live Writer |
-----------------------------------+----------------------------------------
Comment (by azaozz):
Replying to [comment:4 aaron.oneal]:
> I'm not sure why the BOM is being inserted, but agreed, the length fix
isn't a great solution. As for where the BOM is coming from, what you're
seeing is what was transferred over the wire, so Live Writer isn't
inserting it, that's what the server is sending back in the response.
>
> As for stripping the BOM out of the XML, I will try that, but since it
doesn't appear in the code assembling the string, I suspect it won't find
one to remove. Could echo be adding it?
Definitely IIS is adding it, not Live Writer. I doubt it echo would add
it. Check if any output buffers are used in php (in php.ini), IIS might be
adding it when flushing the buffer.
--
Ticket URL: <http://trac.wordpress.org/ticket/6701#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list