Skip to content
Permalink
Browse files

Add xml encoding to wms capabilities

  • Loading branch information
mhugent committed Apr 4, 2013
1 parent 518f235 commit 5f5cafcf0fc274aec9c566f83015223dd42134fe
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mapserver/qgswmsserver.cpp
@@ -2275,7 +2275,7 @@ QString QgsWMSServer::serviceUrl() const

void QgsWMSServer::addXMLDeclaration( QDomDocument& doc ) const
{
QDomProcessingInstruction xmlDeclaration = doc.createProcessingInstruction( "xml", "version=\"1.0\"" );
QDomProcessingInstruction xmlDeclaration = doc.createProcessingInstruction( "xml", "version=\"1.0\" encoding=\"utf-8\"" );
doc.appendChild( xmlDeclaration );
}

0 comments on commit 5f5cafc

Please sign in to comment.
You can’t perform that action at this time.