-
Notifications
You must be signed in to change notification settings - Fork 100
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
UnsupportedCharsetException cp65001 [Question] #5
Comments
I just bumped on the exact same issue. It seems the codepage returned by CMD is not supported by log4j: This is a different problem than the one described here: Changing the codepage via chcp doesn't work. I'm trying now to set the character set via the log4j.properties file. |
Adding these two lines to the jvm.options file will do the trick:
|
Thanks @ffosselle. Can you capture that in the log4j file, or does it need to be in the JVM config? |
@ffosselle splendid, thank you. I can confirm that works nicely for me. Had a closer look at elasticsearch.bat. I can also confirm that adding The contents of the jvm.options file are concatenated into this var. Using the Choose which ever method floats your boat :) |
666 |
I've been trying to update the elasticsearch docker file to use es-5.5.1
Unfortunately some change to log4j is tripping over the windows codepage (see below). log4j 2.8.1 should have a fix but I see es-5.5 use 2.8.2.
I've tried many things with both windowscore and nanoserver but to no avail.
I'm hoping that someone will "just know" what the magic incantation might be?
Thanks in advance
The text was updated successfully, but these errors were encountered: