From 4e207a17939469c6ba15172b0322365fed2cf223 Mon Sep 17 00:00:00 2001 From: mhugent Date: Sat, 29 May 2010 12:44:11 +0000 Subject: [PATCH] Use utf-8 if saving to kml to prevent invalid xml git-svn-id: http://svn.osgeo.org/qgis/trunk@13591 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/app/qgisapp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index 3c77bc9f8ce3..130eb7b5bf59 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -3884,6 +3884,7 @@ void QgisApp::saveAsVectorFileGeneral( bool saveOnlySelection ) { vectorFilename += ".kml"; } + encoding = "UTF-8"; } // ok if the file existed it should be deleted now so we can continue...