bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
55 stars 6 forks source link

Export to MSProject does not support cyrillic symbols #3235

Closed arcady-zherdev closed 3 years ago

arcady-zherdev commented 3 years ago

Forum post

Reproducible on msprojectexport demo.

arcady-zherdev commented 3 years ago

The reason seems in this line

        BrowserHelper.download(config.filename, `data:text/xml;charset=utf-8,${escape(xml)}`);

Not sure why escape is used there considering it's deprecated. Just replacing it with encodeURIComponent helps.