--- fastimport/exporter.py.orig 2012-08-01 21:51:21.774415338 +0200 +++ fastimport/exporter.py 2012-08-01 21:51:46.944415037 +0200 @@ -490,7 +490,7 @@ elif kind == 'symlink': file_cmds.append(commands.FileModifyCommand(path.encode("utf-8"), helpers.kind_to_mode('symlink', False), - None, tree_new.get_symlink_target(id_))) + None, tree_new.get_symlink_target(id_).encode("utf-8"))) elif kind == 'directory': if not self.plain_format: file_cmds.append(commands.FileModifyCommand(path.encode("utf-8"),