springboot project properties in the configuration file garbled problems arise Chinese

By new String (fileConfig.getPath (). GetBytes ( "ISO-8859-1"), "UTF-8") to be converted to utf-8 encoding will be able to display Chinese correctly and avoid garbled

Guess you like

Origin www.cnblogs.com/hik-wolf/p/12100382.html