We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 7ee8025 commit 732ff05Copy full SHA for 732ff05
src/providers/grass/qgsgrass.cpp
@@ -335,9 +335,9 @@ void QgsGrass::setLocation( QString gisdbase, QString location )
335
// #if defined(WIN32)
336
// G__setenv(( char * ) "GISDBASE", shortPath( gisdbase ).toLocal8Bit().data() );
337
//#else
338
- G__setenv(( char * ) "GISDBASE", gisdbase.toAscii().constData() );
+ G__setenv(( char * ) "GISDBASE", gisdbase.toUtf8().constData() );
339
//#endif
340
- G__setenv(( char * ) "LOCATION_NAME", location.toAscii().constData() );
+ G__setenv(( char * ) "LOCATION_NAME", location.toUtf8().constData() );
341
G__setenv(( char * ) "MAPSET", ( char * ) "PERMANENT" ); // PERMANENT must always exist
342
343
// Add all available mapsets to search path
0 commit comments