Re: dia 0.94 Win32, Save failed
- From: Robert Ögren <gtk roboros com>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: dia 0.94 Win32, Save failed
- Date: Wed, 17 Nov 2004 23:51:50 +0100 (MET)
On Tue, 16 Nov 2004, Tor Lillqvist wrote:
Juergen Zimmermann writes:
> But I'm confused. Why can I save a dia-file with "File - Save As" in
> a path with non-ASCII characters, but not with "File - Save"??
A bug in Dia?
Definitely. I experience the same problem on Win XP, and by setting a
breakpoint in diagram_save it is easy to see that when File - Save As is
selected the file name is in local encoding while when selecting File -
Save the file name is in UTF-8. This is because File - Save uses the file
name stored by diagram_set_filename, and that function does a
g_filename_to_utf8 before storing it. file_save_callback just passes
diagram->filename to diagram_save without converting back from UTF-8.
Bug 158381 seems to be about the same problem.
Regards
Robert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]