de4a-eu / de4a

DE4A WP5 Connector
Apache License 2.0
2 stars 5 forks source link

DOMUtils is using system charset #21

Closed phax closed 3 years ago

phax commented 3 years ago

Method documentToByte uses the system charset when converting a string to a byte[]. This will have undefined behaviour. Use StandardCharsets.UTF_8 instead.