CPack: € symbol in name gives "ERROR =archive_read_disk_entry_from_file '<snip>': Can't lstat"
Hello.
I'm having issues when making a TBZ2 archive using cpack and install() on a file whose name contains the € symbol. The problem appears when the locale is unset, it packs fine when the locale is en_US.UTF-8.
The console output is :
CPack: Create package using TBZ2
CPack: Install projects
CPack: - Run preinstall target for: HyperCube
CPack: - Install project: HyperCube
CPack: Create package
CPack Error: Problem while adding file< /HyperCube/build-docker/_CPack_Packages/Linux/TBZ2/HyperCube/System/htdocs.ace/src/assets/js/impact/area__all__catastrophic_scenario__prs_facturation__MBI (€).json> to archive </HyperCube/build-docker/_CPack_Packages/Linux/TBZ2/HyperCube.tar.bz2> .ERROR =archive_read_disk_entry_from_file 'HyperCube/System/htdocs.ace/src/assets/js/impact/area__all__catastrophic_scenario__prs_facturation__MBI (€).json': Can't lstat
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: HyperCube