Problem Description
When using the Elasticsearch console under the Windows operating system, you may encounter garbled characters.
Solution
-
Open the Elasticsearch installation directory and find the jvm.options file under the config folder.
-
Open the jvm.options file with a text editor.
-
Find an empty location in the file, add that line at the end of the file, or choose another location.
-
Add the following configuration parameters:
-Dfile.encoding=GBK
-
Save the jvm.options file.
-
Restart Elasticsearch.