I am creating a web service in java in Domino that from a stream that represents a file and its name, a notes document is created, the stream is transformed into a file and attached to the document. The problem is that for name of files with accentuation occurs the truncation of letters with accentuation. I have tried several alternatives to handle this exception, but none have had the desired effect. Has anyone ever had this problem? The code snippet where the attachment is named follows.
header.setHeaderVal("attachment; filename=\""+nomeArq+"\"");