# HG changeset patch # User Jiri Vanek # Date 1545128504 -3600 # Node ID 0c8e7d6eff3343bb02338e79d6b989b4bda555d7 # Parent 38c1021dda36181998e67e2d39480e550f3ec8e1 Replaced hardcoded BOM character with utf representation (PR3671) * netx/net/sourceforge/nanoxml/XMLElement.java: (scanLeadingWhitespace) resolved PR3671, relaced ' ' by \\ufef diff -r 38c1021dda36 -r 0c8e7d6eff33 ChangeLog --- a/ChangeLog Tue Dec 18 11:18:55 2018 +0100 +++ b/ChangeLog Tue Dec 18 11:21:44 2018 +0100 @@ -1,3 +1,9 @@ +2018-12-10 Jiri Vanek + jtesdall + + Replaced hardcoded BOM character with utf representation (PR3671) + * netx/net/sourceforge/nanoxml/XMLElement.java: (scanLeadingWhitespace) resolved PR3671, relaced ' ' by \\ufeff + 2018-11-28 Jiri Vanek deployment.config now support generic url instead just file diff -r 38c1021dda36 -r 0c8e7d6eff33 netx/net/sourceforge/nanoxml/XMLElement.java --- a/netx/net/sourceforge/nanoxml/XMLElement.java Tue Dec 18 11:18:55 2018 +0100 +++ b/netx/net/sourceforge/nanoxml/XMLElement.java Tue Dec 18 11:21:44 2018 +0100 @@ -628,8 +628,8 @@ throws IOException { while(true) { char ch = this.readChar(); - //this is BOM , not space - if (ch == '') { + //this is BOM , when used without \\u, appear like space, but causes issues on windows development + if (ch == '\uFEFF') { BOM = true; } else if (!isRegularWhiteSpace(ch)) { return ch;