java - What does -Dfile.encoding = UTF-8 do in JAVA_OPTIONS -
any idea -dfile.encoding=utf-8 in
java_options="${java_options} -dfile.encoding=utf-8"
do? have option in jetty server configuration.
if dont have it, might consequence?
it sets property defines in encoding java save , read files default. must set @ jvm startup.
there multiple encodings - ways represent characters on computers. utf-8 1 of best use, contains special characters in many languages.
once don't have property, java might save files in different encoding might lead strange characters when opening file text editor. can avoid issue manually setting desired encoding outputstream
s.
Comments
Post a Comment