I used idea to develop, File Encodings with Transparent native-to-ascii conversion set to true. There is such a configuration in the configuration file test.bank= Bank of China
,
no problem compiling and running on idea.
after packaging, open it in notepad and display the property configuration as test.bank=\ u4E2D\ u56FD\ u94F6\ u884C
, so that it is no problem to run the packaged program.
at this point, if I manually change this property of the packaged configuration file to test.bank= Bank of China
, then the program will run with garbled code.
I would like to ask, how to ensure that the configuration file of the packaged program is displayed in Chinese, and that there is no garbled code after the program is run and read?