Add support for property file encoding in @TestPropertySource
Prior to this commit, property files configured (or inferred) via @TestPropertySource were read using the default encoding of the JVM. This commit introduces an `encoding` attribute in @TestPropertySource which allows developers to specify an explicit encoding for test property files. Closes gh-30982
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# This file is saved using ISO-8859-1 encoding
|
||||
text=G<EFBFBD>n<EFBFBD>rales
|
||||
Reference in New Issue
Block a user