<div dir="ltr"><div><div><div><div><div>Hi,<br></div>I confirm .<br></div>The setting is at application level , not at project level.<br><br></div>I have my desktop set to "ignore setting", but when move to qgis-server it don't use the cpg file.<br><br></div>So now I'm now changing manually all the layers one by one in my project qgis from System to the effective charset of every single shapefile to use them on qgis-server.</div><div><br></div><div></div><div></div>A.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-29 13:58 GMT+01:00 Richard Duivenvoorde <span dir="ltr"><<a href="mailto:rdmailings@duif.net" target="_blank">rdmailings@duif.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 29-12-17 13:12, Tobias Wendorff wrote:<br>
> Am Fr, 29.12.2017, 13:02 schrieb Richard Duivenvoorde:<br>
>><br>
>> So the project is leading<br>
><br>
> Then the setting is in the wrong place. In QGIS3, it's an application<br>
> wide setting, not a project setting.<br>
<br>
</span>Hi Tobias,<br>
<br>
Sorry. You are right. I was just echoing my interpretation of Paolo's email.<br>
<br>
It seems a indeed an application setting:<br>
 /qgis/ignoreShapeEncoding<br>
used here:<br>
<br>
<a href="https://github.com/qgis/QGIS/blob/master/src/providers/ogr/qgsogrprovider.cpp#L433" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/<wbr>blob/master/src/providers/ogr/<wbr>qgsogrprovider.cpp#L433</a><br>
<br>
In desktop defaulting to true:<br>
<a href="https://github.com/qgis/QGIS/blob/master/src/app/qgsoptions.cpp#L644" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/<wbr>blob/master/src/app/<wbr>qgsoptions.cpp#L644</a><br>
<br>
I'm not familiar with how the settings/environment are created for the<br>
server.<br>
<br>
Depending the view on being it a project setting, or a application<br>
setting, it should be, or NOT be in the project file.<br>
BUT if not be in the project file, there is maybe a way (via custom<br>
settings?) to put this kind of stuff in the environment?<br>
<br>
In 3.0 and 2.18 I changed the value to false, but could not find<br>
anything in the project file.<br>
<br>
I think we should try to define this clearly:<br>
- should we define it a project or a application<br>
(?? is one server one application??) setting<br>
- where does the 'settings' come from for a freshly started qgisserver.<br>
(as normally you do not use the same server machine on which you run<br>
desktop)<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br></div>
</div>