Trying to fix unicode filename handling on Windows. Patch ported from 2.2.
svn: r9354
This commit is contained in:
@ -770,8 +770,7 @@ class NewNativeDbPrompter:
|
||||
while (True):
|
||||
response = choose.run()
|
||||
if response == gtk.RESPONSE_OK:
|
||||
filename = unicode(choose.get_filename(),
|
||||
sys.getfilesystemencoding())
|
||||
filename = Utils.get_unicode_path(choose.get_filename())
|
||||
if filename == None:
|
||||
continue
|
||||
if os.path.splitext(filename)[1] != ".grdb":
|
||||
|
Reference in New Issue
Block a user