lets-blade/blade

Config and Log Files are forced to UTF-8 character set regardless of local charset

lcurrens opened this issue · 0 comments

  • System Version (e.g. Mainframe MVS):
  • Build tools (maven):
  • JDK Version (1.8):

Describe the bug

When running on a system with character set IBM-1047, the properties and log files
are forced to UTF-8, which is not readable on the host platform.

For example, in Environment.java:
environment.props.load(new InputStreamReader(is, "UTF-8"));

To Reproduce

Run on a host that does not use UTF-8 character set.
Create an app.properties config file in the local character set.
Run the blade application - it does not pick up properties from the app.properties file.
In addition, look at the logfiles, they are not readable on this platform that uses IBM-1047 character set.

Expected behavior:

To be able to read logfiles and edit properties file on the local machine.