Skip to content

Commit

Permalink
Add xml encoding to wms capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Apr 4, 2013
1 parent 518f235 commit 5f5cafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgswmsserver.cpp
Expand Up @@ -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 );
}

Expand Down

0 comments on commit 5f5cafc

Please sign in to comment.