sahaya / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Strip out BOM's in response bodies #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It should be possible to strip the BOM from an XML:

733
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  ...
  ...
</soapenv:Envelope>
0

See 
http://stackoverflow.com/questions/1835430/byte-order-mark-screws-up-file-readin
g-in-java

Original issue reported on code.google.com by johan.ha...@gmail.com on 31 May 2012 at 7:08

GoogleCodeExporter commented 9 years ago
Cannot reproduce with UTF-8 BOM

Original comment by johan.ha...@gmail.com on 1 Jun 2012 at 6:21

GoogleCodeExporter commented 9 years ago
It works

Original comment by johan.ha...@gmail.com on 2 Jun 2012 at 10:03