[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 17:07:36 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 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?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6701#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list