Skip to content

Commit

Permalink
Test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pierpaolo.didato@emeal.nttdata.com authored and pierpaolo.didato@emeal.nttdata.com committed Sep 13, 2024
1 parent dab3ad7 commit f2ba59b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private BillingToSend convertBilling(Billing billing) {
public void setTokenData(NotificationToSend notificationToSend, Token token) {
if (Objects.nonNull(token) && Objects.nonNull(token.getContractSigned())) {
try {
notificationToSend.setFileName(Paths.get(new String(token.getContractSigned().getBytes("UTF-8"))).getFileName().toString());
notificationToSend.setFileName(Paths.get(new String(token.getContractSigned().getBytes("UTF-8"), "ISO-8859-1")).getFileName().toString());
} catch (UnsupportedEncodingException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit f2ba59b

Please sign in to comment.