Кодировка файла при открытии в браузере

Здравствуйте.
Такой вопрос по кодировке файла. Для корректного отображения наименования для скачиваемого файла переопределяю метод

 
   @Override
    public DownloadStream getStream() {
        final DownloadStream stream =
                new DownloadStream(getStreamSource().getStream(), contentType, filename);
        try {
			stream.setParameter("Content-Disposition", "attachment; filename="+URLEncoder.encode(filename,"utf-8"));
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}
        // This magic incantation should prevent anyone from caching the data
        stream.setParameter("Cache-Control", "private,no-cache,no-store");
        // In theory <=0 disables caching. In practice Chrome, Safari (and, apparently, IE) all
        // ignore <=0. Set to 1s
        stream.setCacheTime(1000);
        return stream;
   }

Все работает корректно в браузере Chrome. Но firefox 3-9 не желает воспринимать utf-8.
Подскажите пожалуйста, надо ли указать какие то доп. параметры или как-то корректно настроить firefox?

http://dev.vaadin.com/ticket/8155
Подробное описание.