[QGIS Commit] r12625 - trunk/qgis/src/providers/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Dec 27 11:10:00 EST 2009


Author: jef
Date: 2009-12-27 11:09:59 -0500 (Sun, 27 Dec 2009)
New Revision: 12625

Modified:
   trunk/qgis/src/providers/grass/qgsgrass.cpp
Log:
fix #2327

Modified: trunk/qgis/src/providers/grass/qgsgrass.cpp
===================================================================
--- trunk/qgis/src/providers/grass/qgsgrass.cpp	2009-12-27 15:07:38 UTC (rev 12624)
+++ trunk/qgis/src/providers/grass/qgsgrass.cpp	2009-12-27 16:09:59 UTC (rev 12625)
@@ -335,9 +335,9 @@
 // #if defined(WIN32)
 //  G__setenv(( char * ) "GISDBASE", shortPath( gisdbase ).toLocal8Bit().data() );
 //#else
-  G__setenv(( char * ) "GISDBASE", gisdbase.toAscii().constData() );
+  G__setenv(( char * ) "GISDBASE", gisdbase.toUtf8().constData() );
 //#endif
-  G__setenv(( char * ) "LOCATION_NAME", location.toAscii().constData() );
+  G__setenv(( char * ) "LOCATION_NAME", location.toUtf8().constData() );
   G__setenv(( char * ) "MAPSET", ( char * ) "PERMANENT" ); // PERMANENT must always exist
 
   // Add all available mapsets to search path



More information about the QGIS-commit mailing list