[REACT] Export to MSProject not supported cyrillic symbols.
Posted: Wed Jul 28, 2021 10:59 am
by Ayurchenkoi
We can't export non-english symbols by the Gantt mspExport feature (in public example this also not working). How can we fix this problem (some settings in the export feature, for example)?
Thank you.
Re: [REACT] Export to MSProject not supported cyrillic symbols.
Re: [REACT] Export to MSProject not supported cyrillic symbols.
Posted: Wed Jul 28, 2021 12:38 pm
by arcady
As a quick workaround try overriding the feature export method like this:
MspExport.prototype.export = function(config = {}) {
const me = this;
if (me.disabled) {
return;
}
config = ObjectHelper.assign({}, me.config, config);
if (!config.filename) {
config.filename = `${me.client.$$name}.xml`;
}
const
data = me.generateExportData(config),
xml = me.convertToXml(data);
BrowserHelper.download(config.filename, `data:text/xml;charset=utf-8,${encodeURIComponent(xml)}`);
};
Re: [REACT] Export to MSProject not supported cyrillic symbols.
Posted: Fri Jul 30, 2021 10:09 am
by Ayurchenkoi
Can you, please, provide a workaround example with TypesScript implementation (We can't find export for MspExport or what we can override in the config of export). Thank you.
Re: [REACT] Export to MSProject not supported cyrillic symbols.
Posted: Fri Jul 30, 2021 11:04 am
by arcady
The fixed version is already in nightlies and can be downloaded from the customerzone ..or simply wait for the upcoming release