fix encoding error in ZUGFeRDInvoiceImporter.java
fix encoding error when JVM has a standard encoding other than UTF-8
This commit is contained in:
@@ -1172,7 +1172,7 @@ public class ZUGFeRDInvoiceImporter {
|
|||||||
bomlessData = rawXML;
|
bomlessData = rawXML;
|
||||||
}
|
}
|
||||||
|
|
||||||
return new String(bomlessData);
|
return new String(bomlessData, StandardCharsets.UTF_8);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
|||||||
Reference in New Issue
Block a user