<div dir="ltr">Hi Magnus<div>I use datasets in the Icelandic language (lots of accented and strange characters) all the time and their encoding is usually either ISO-8859-1 or UTF-8. When I import into PostGIS, I usually use the import tools provided in the DB Manager. In my experience, the characters are transferred correctly if I set the encoding correctly for the layer beforehand. In other words, if they show up right in the attribute table in QGIS, the will also be right when they have landed in PostGIS. My only gripe is that I can't find a way to set a default character encoding for new layers, the system encoding seems to be the hard-wired default, which for me is ISO-8859-1 but I would like to set the default to UTF-8. Does anyone know a way to accomplish this?</div><div><br></div><div>Arni</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><font color="#666666">Árni Geirsson<br><span style="font-size:x-small"><font color="#666666"><b>Alta ehf</b> // +354 582 5000 // +354 897 9549</font></span></font></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 6 March 2017 at 21:34, johnrobot <span dir="ltr"><<a href="mailto:johnrobot@gmail.com" target="_blank">johnrobot@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
I use "Import into PostGIS" in a model to write a road network to PostGIS.<br>
However, the Swedish characters å/ä/ö are replaced with "�" in the<br>
attributes. The encoding in the tool is set to UTF-8. Any suggestions on how<br>
to handle this? Windows 10, QGIS 2.18.4, 64 bit.<br>
<br>
Regards,<br>
<br>
Magnus<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Processing-Encoding-problem-with-Import-into-PostGIS-tp5311044.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/Processing-<wbr>Encoding-problem-with-Import-<wbr>into-PostGIS-tp5311044.html</a><br>
Sent from the QGIS - User mailing list archive at Nabble.com.<br>
______________________________<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></blockquote></div><br></div>