gsl icon indicating copy to clipboard operation
gsl copied to clipboard

problem: GSL cannot process xml with a BOM

Open somdoron opened this issue 7 years ago • 2 comments

My IDE insist of saving XML files as UTF8 with BOM, as I don't use any special characters it is actually a regular ascii which gsl can process.

However GSL cannot process the BOM at the beginning of the file.

Any chance supporting UTF8 with BOM? If someone can direct me to the correct place I can try and solve it myself.

Thanks.

somdoron avatar Oct 31 '17 12:10 somdoron

Just made a quick search...

The relevant functions you are looking for seem to be: https://github.com/zeromq/gsl/blob/master/src/sflxmll.c#L780 https://github.com/zeromq/gsl/blob/master/src/sflxmll.c#L1150 https://github.com/zeromq/gsl/blob/master/src/sflxmll.c#L1277

Hope this helps :)

c-rack avatar Oct 31 '17 13:10 c-rack

thanks, looking into that.

somdoron avatar Nov 01 '17 10:11 somdoron