wardle / hermes

A library and microservice implementing the health and care terminology SNOMED CT with support for cross-maps, inference, fast full-text search, autocompletion, compositional grammar and the expression constraint language.
Eclipse Public License 2.0
177 stars 21 forks source link

Server output uses default platform character encoding instead of UTF-8. #21

Closed wardle closed 3 years ago

wardle commented 3 years ago

In the interim, one can start the server by using

java -Dfile.encoding=UTF-8 -jar target/hermes-v0.7.jar --db snomed.db serve

This is only an issue on Windows, as the default character encoding will be windows-1252 unless explicitly changed at the command-line. Firstly, java should use UTF-8 by default, secondly no libraries should default to platform encoding, and thirdly, I should have checked and set explicitly.

wardle commented 3 years ago

Fixed in b8924df2b506f7c427a4593ebfa9eee584193707