StreamingResolution filename don't permit non Ascii characters.

Description

Hi,
as other people I have problems with the filename treatment when opening a file with StreamingResolution. My filename problem is not with spaces I see this bug is solved, my problem is with international characters like cyrillic, which dissappear from the filename in any of the browsers:
The file "0000033876Лист в MDM - Запрос SAP-номеров 1.xlsx" when opened is converted to "0000033876 MDM - SAP- 1.xlsx"

My code:

StreamingResolution streamingResolution = new StreamingResolution(getMimeType(filename),
FileUtils.openInputStream(handler.getFile(filename)));

HttpServletResponse response = getContext().getResponse();
response.setHeader("Expires", "0");
response.setHeader("Cache-Control", "must-revalidate");
response.setHeader("Content-Disposition", "attachment; filename=\"" + escaped + "\"");
return streamingResolution;

Anyone know is there's a solution for this?
Thank you!

Environment

windows 7

Status

Assignee

Unassigned

Reporter

Ignasi Sola

Labels

None

Tester

None

Components

Affects versions

Release 1.5.7

Priority

Major
Configure