Skip to content
Permalink
Browse files
Merge pull request #43742 from qgis/bugfix-gh43741
Fix #43741 extract SHP encoding
  • Loading branch information
elpaso committed Jun 15, 2021
2 parents 6b10a21 + 4dcde8b commit 4514e5efbe9da93d9526d01d0a120d87100d7412
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/processing/qgsalgorithmshpencodinginfo.cpp
@@ -65,7 +65,7 @@ QgsShapefileEncodingInfoAlgorithm *QgsShapefileEncodingInfoAlgorithm::createInst
void QgsShapefileEncodingInfoAlgorithm::initAlgorithm( const QVariantMap & )
{
addParameter( new QgsProcessingParameterFile( QStringLiteral( "INPUT" ), QObject::tr( "Input layer" ), QgsProcessingParameterFile::File,
QString(), QVariant(), false, QObject::tr( "Shapefiles (%1)" ).arg( QLatin1String( "*.shp *.SHP)" ) ) ) );
QString(), QVariant(), false, QObject::tr( "Shapefiles (%1)" ).arg( QLatin1String( "*.shp *.SHP" ) ) ) );

addOutput( new QgsProcessingOutputString( QStringLiteral( "ENCODING" ), QObject::tr( "Shapefile Encoding" ) ) );
addOutput( new QgsProcessingOutputString( QStringLiteral( "CPG_ENCODING" ), QObject::tr( "CPG Encoding" ) ) );

0 comments on commit 4514e5e

Please sign in to comment.