Updates: Status: Accepted Comment #4 on issue 230 by benoit.m... at ...626...: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 So the problem is in Printer.OutputFile, not in the Dialog class!