[Qgis-user] Processing: Encoding problem with Import into PostGIS
Árni Geirsson
arni at alta.is
Tue Mar 7 00:27:31 PST 2017
Hi Magnus
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?
Arni
Árni Geirsson
*Alta ehf* // +354 582 5000 // +354 897 9549
On 6 March 2017 at 21:34, johnrobot <johnrobot at gmail.com> wrote:
> Hi
> I use "Import into PostGIS" in a model to write a road network to PostGIS.
> However, the Swedish characters å/ä/ö are replaced with "�" in the
> attributes. The encoding in the tool is set to UTF-8. Any suggestions on
> how
> to handle this? Windows 10, QGIS 2.18.4, 64 bit.
>
> Regards,
>
> Magnus
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Processing-Encoding-problem-with-Import-
> into-PostGIS-tp5311044.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170307/7d13cd54/attachment.html>
More information about the Qgis-user
mailing list