Hi,
I did some more tests with Dia Portable 0.97 and the official libxml2
2.7.6 on my WinXp Sp3 machine. (Note: Dia Portable includes exactly the
same binaries as the local Dia 0.97 version, except for
"dia-win-remote.exe". This version was fixed by Steffen Macke and is
included in the git repository.)
As reported last week, opening and saving files with localized
characters works now, but just within Dia (Portable). In my eyes Bug
#570592 is fixed now and Bug #591302 is still around.
I'll try to describe the steps to reproduce the behaviour:
- Open Dia (Portable)
- Create diagram
- Select from menu File > Save and make filename to
"Hällöwien.dia". (compressed)
=> This works without problems
- Close Dia
- Open Dia (Portable)
- Open "Hällöwien.dia" via recent file list.
=> This works without problems too.
- Close Dia
- Drag&Drop "Hällöwien.dia" at DiaPortable.exe
=> This doesn't work. The file doesn't open. Note: This should open
the file via "diaw.exe filename" and works fine for files
without localized characters.
- Open Dia (Portable)
- Drag&Drop "Hällöwien.dia" at DiaPortable.exe
=> This works. The file opens in a new tab (or window). Note: This
uses
"dia-win-remote.exe diaw.exe filename" and works. Note 2: That doesn't
work with the local version, because that includes the old
"dia-win-remote.exe".
In my eyes diaw.exe or dia.exe is the problem. I did some more tests
via command-line:
- "diaw.exe f:\hällöwien.dia" => Nothing happens
- "diaw.exe --integrated f:\hällöwien.dia" => Same, nothing
happens
- "dia.exe f:\hällöwien.dia" => Dia console window (black)
flashes up and
closes immediately. Command-line says: [Invalid UTF-8]
\xbbf:\h\xe411\xf6wien.dia\xab not found
- "dia.exe --integrated f:\hällöwien.dia" =>Same as above
Another thing I've noticed during my tests. The autosave of that file
"hällöwien.dia" doesn't work too. The filename in the same folder is
"hällöwien.dia.autosave".
Alright, hopefully all that text helps to solve the issues. Otherwise
the workaround is easy. Don't use localized filenames yet.
Kind regards
Bart.S
|