Skip to content

Commit b5e15a1

Browse files
author
mhugent
committed
Use utf-8 if saving to kml to prevent invalid xml
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13591 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent bb77990 commit b5e15a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/qgisapp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3884,6 +3884,7 @@ void QgisApp::saveAsVectorFileGeneral( bool saveOnlySelection )
38843884
{
38853885
vectorFilename += ".kml";
38863886
}
3887+
encoding = "UTF-8";
38873888
}
38883889

38893890
// ok if the file existed it should be deleted now so we can continue...

0 commit comments

Comments
 (0)