Skip to content

Commit

Permalink
followup 5c95c5f , use utf-8 string
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Feb 21, 2020
1 parent 7ff58dd commit 282bc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/georeferencer/qgsimagewarper.cpp
Expand Up @@ -98,7 +98,7 @@ bool QgsImageWarper::createDestinationDataset( const QString &outputName, GDALDa
{
OGRSpatialReference oTargetSRS;
#if PROJ_VERSION_MAJOR>=6
oTargetSRS.importFromWkt( crs.toWkt( QgsCoordinateReferenceSystem::WKT2_2018 ).toLatin1().data() );
oTargetSRS.importFromWkt( crs.toWkt( QgsCoordinateReferenceSystem::WKT2_2018 ).toUtf8().data() );
#else
oTargetSRS.importFromProj4( crs.toProj().toLatin1().data() );
#endif
Expand Down

0 comments on commit 282bc33

Please sign in to comment.