svenkreiss / html5validator

Command line tool to validate HTML5 files. Great for continuous integration.
MIT License
314 stars 34 forks source link

Force UTF-8 encoding in Java JVM #119

Closed frodeseverin closed 1 year ago

frodeseverin commented 1 year ago

Running JVM on systems with default encoding different from UTF-8 will trigger encoding error in parsing stdout and stdout messages from vnu.jar into python. Forcing JVM to run with UTF-8 encoding ensures proper handling of stings from i.e. file access errors within the JVM execution loop.

frodeseverin commented 1 year ago

Sorry, learning about GitHub as we go. I will enter new PR with correct naming.