Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character encoding cp1250 warning #8

Closed
daust opened this issue Oct 27, 2020 · 4 comments
Closed

Character encoding cp1250 warning #8

daust opened this issue Oct 27, 2020 · 4 comments
Assignees
Labels
bug Something isn't working module:installer
Milestone

Comments

@daust
Copy link
Owner

daust commented Oct 27, 2020

When running on a Slovenian environment, we get a warning regarding the encoding cp1250.

@daust daust self-assigned this Oct 27, 2020
@daust daust added the bug Something isn't working label Oct 27, 2020
@daust
Copy link
Owner Author

daust commented Oct 27, 2020

image

@daust
Copy link
Owner Author

daust commented Oct 27, 2020

It seems that the Java engine derives the encoding for the console from the shell it is currently running on. In that case of the Slovenian machine it seems that it is not possible to deal with that codepage.

There is a workaround by setting the encoding explicitly at runtime:

-Dsun.stdout.encoding=Cp1250

Perhaps there is another explanation / workaround.

Here are some references:

@daust
Copy link
Owner Author

daust commented Oct 27, 2020

It should only affect the output on the console, not even the generated logfiles ... we will test this.

@daust daust added this to the v1.1.0 milestone Oct 29, 2020
@daust
Copy link
Owner Author

daust commented Oct 29, 2020

The setting

-Dsun.stdout.encoding=Cp1250

This will not have any negative impact because it only sets the character set for the console output. It does not affect the sql scripts that are executed nor the generated logfiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:installer
Projects
None yet
Development

No branches or pull requests

1 participant