The following commit(s) were added to refs/heads/master by this push:
new 543521a getBytes uses the platform charset by default. (#624)
543521a is described below
Author: Adrian Leonhard <[hidden email]>
AuthorDate: Tue Jan 14 13:35:05 2020 +0100
getBytes uses the platform charset by default. (#624)
* getBytes uses the platform charset by default.
As far as I can see, the only place where the schemas are loaded into the cache is loadSchemasIntoCache, where they are extracted from an XML Document. As such, they won't have an associated encoding. The XMLSource defaults to UTF-8, so this blows up if you have special characters and, for example, windows-1252 as the platform charset.