[QGIS Commit] r13591 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat May 29 08:44:11 EDT 2010


Author: mhugent
Date: 2010-05-29 08:44:11 -0400 (Sat, 29 May 2010)
New Revision: 13591

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
Use utf-8 if saving to kml to prevent invalid xml

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2010-05-29 11:40:28 UTC (rev 13590)
+++ trunk/qgis/src/app/qgisapp.cpp	2010-05-29 12:44:11 UTC (rev 13591)
@@ -3884,6 +3884,7 @@
       {
         vectorFilename += ".kml";
       }
+      encoding = "UTF-8";
     }
 
     // ok if the file existed it should be deleted now so we can continue...



More information about the QGIS-commit mailing list