Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.7.2
-
None
-
None
Description
In org.apache.openejb.assembler.classic.Assembler:
final InputStream is = new ByteArrayInputStream(serviceInfo.properties.getProperty("Definition").getBytes());
final Properties p = new SuperProperties();
IO.readProperties(is, p);
The string is first converted to a byte array in the default encoding (e.g. UTF-8) but IO.readProperties expects the stream in ISO 8859-1. So it would be wise to use getBytes("ISO-8859-1").
As a workaround one may escape the special characters using \u....
Attachments
Issue Links
- is duplicated by
-
TOMEE-1606 Bad conversion of DataSource password containing special characters
- Resolved