On Tuesday, 17 November 2015 at 02:50:44 UTC, Domain wrote:
Thanks! But how to remove BOM? Slice the result myself?
Yeah. Do something like if(result.length &&result[0] == bom) { result = result[1..$]; } and you'll have it.
Adam D. Ruppe via Digitalmars-d-learn Mon, 16 Nov 2015 19:06:01 -0800
On Tuesday, 17 November 2015 at 02:50:44 UTC, Domain wrote:
Thanks! But how to remove BOM? Slice the result myself?
Yeah. Do something like if(result.length &&result[0] == bom) { result = result[1..$]; } and you'll have it.