Bug 14832: Fix encoding issues when exporting in RIS