Skip to content
Permalink
Browse files

[BUGFIX][QGIS Server] Add charset for application/vnd.ogc.gml GetFeat…

…ureInfo
  • Loading branch information
rldhont committed Feb 24, 2016
1 parent ebab36a commit 06aad16414e2849aff6c19ecadc0cf0b4b787aa3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgshttprequesthandler.cpp
@@ -112,7 +112,7 @@ void QgsHttpRequestHandler::sendHeaders()
QgsDebugMsg( QString( "Content format: %1" ).arg( mInfoFormat ) );
printf( "Content-Type: " );
printf( mInfoFormat.toLocal8Bit() );
if ( mInfoFormat.startsWith( "text/" ) )
if ( mInfoFormat.startsWith( "text/" ) || mInfoFormat.startsWith( "application/vnd.ogc.gml" ) )
printf( "; charset=utf-8" );
printf( "\n" );
// size is not known when streaming

0 comments on commit 06aad16

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