On Tue, 2006-11-28 at 00:12 -0500, Anthon Pang wrote:
> In DbLoader.py (DbLoader.open_file), the filename returned from
> choose.get_filename() is returned in the character set specified by
> sys.getfilesystemencoding() -- in Simon's case, iso8859-15.
> 
> Could it be as simple as adding this after each occurrence of
> filename = choose.get_filename() ?
> 
>         filename = filename.encode('UTF-8')

It is something like that, although I am not sure whether we need
to decode it first.

Simon, can you try adding this to your usr/share/gramps/ViewManager.py
file, in line 895 (before the RecentFiles.recent_files)
        import sys
        filename = filename.decode(sys.getfilesystemencoding())
        filename = filename.encode('utf-8')

Also, if you don't mind, could you please file this bug at
our bug tracker, http://bugs.gramps-project.org
If you have time to follow up like you did in the past,
it's better for us to have the bug reports on our tracker.
This is not the debian issue, it's completely upstream.

Thanks,
Alex

-- 
Alexander Roitman   http://www.gramps-project.org

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to