Cannot export to Cairo PDF with localized characters in file path
Submitted by rpr
Link to original bug (#794535)
Description
On Dia 0.97.2 for Windows try the following:
- Open/create a .dia file
- File -> Export
- Determine file type: Cairo Portable Document Format
- Choose an export folder and file name
- Save
If the export folder path contains non-Western characters (e.g. "c:\temp\Dia_Tástáil"), the export does not succeed and Dia gives an error: "error while writing to export stream".
If the export folder path contains Western characters but the file name contains non-Western characters (e.g. "c:\temp\Dia_test\büg.pdf"), the export succeeds but the output file name contains wrong characters ("bĂĽg.pdf" in this example).
I reported that 7+ years ago as bug #634519. Hans Breuer commented it was a problem in interaction between Gtk+ and Cairo.
From https://sourceforge.net/projects/dia-installer/files/dia-win32-installer/0.97.2/ I installed dia-setup-0.97.2-2-unsigned.exe which was created on 2012-07-05.
Could this be fixed if Dia is recompiled with a newer version of Gtk+ for Windows?
-- rpr.
Version: 0.97.x