[anjuta] project-wizard: bgo #639093 - I can't start a new project properly



commit 76a87162de7fae40546ea3e4a756cca25988bc4e
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Tue Jan 11 22:35:15 2011 +0100

    project-wizard: bgo #639093 - I can't start a new project properly

 plugins/project-wizard/autogen.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/project-wizard/autogen.c b/plugins/project-wizard/autogen.c
index 486e44b..ca6492a 100644
--- a/plugins/project-wizard/autogen.c
+++ b/plugins/project-wizard/autogen.c
@@ -349,14 +349,15 @@ npw_autogen_execute (NPWAutogen* this, NPWAutogenFunc func, gpointer data, GErro
 		}
 		this->empty = TRUE;
 	}
+
+	/* The template and definition file are in UTF-8 so the output too */
+	anjuta_launcher_set_encoding (this->launcher, "UTF-8");
 	
 	this->busy = TRUE;
 	if (!anjuta_launcher_execute_v (this->launcher, NULL, args, NULL, on_autogen_output, this))
 	{
 		return FALSE;
 	}
-	/* Keep output as it is */
-	anjuta_launcher_set_encoding (this->launcher, NULL);
 
 	return TRUE;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]