$OpenBSD: patch-src_vcard_py,v 1.1.1.1 2005/10/20 04:20:28 jolan Exp $
--- src/vcard.py.orig	Wed Oct 19 01:27:17 2005
+++ src/vcard.py	Wed Oct 19 01:27:32 2005
@@ -165,7 +165,10 @@ class VcardWindow:
 			response = dialog.run()
 			if response == gtk.RESPONSE_OK:
 				f = dialog.get_filename()
-				f = f.decode(sys.getfilesystemencoding())
+				try:
+					f = f.decode(sys.getfilesystemencoding())
+				except:
+					pass
 				if self.image_is_ok(f):
 					ok = True
 			else:
