The parsing of unicode escape sequences is not an explicit part of the Java Standard API, it only implicitly occurs when loading Properties
. You could copy the implementation from the source code of Properties
.
But it would be better to use a normal encoding like UTF-8 for your file.