Questions tagged [utf-8]

UTF-8 is a character encoding capable of encoding all possible characters, or code points, in Unicode.

Filter by
Sorted by
Tagged with
2
votes
1answer
47 views

Write accent mark in .shp and .dxf filename

I'm trying to export with python 2.7 some shapefiles and CAD files that could have specials characters in their filename, like accent marks. In example, I want to have this: ...
3
votes
1answer
121 views

T-rex tile server with postgis (windows) : utf-8 encoding error

I want to use T-rex as vector tileserver on Windows. I load osm.pbf file (from geofabrik) to PostGIs dataBase with osm2pgsql successfully. When I run the server with the following commands, I get the ...
2
votes
0answers
332 views

How to get a shapefile DBF encoding?

I wrote a python code that is used in different countries. It process a shapefile DBF, that can be encoded in any of the local langage (or being provided by another foreign partner), or even in ascii. ...
2
votes
0answers
98 views

ArcGIS 10.4 strange phenomenon with special Unicode Characters Column

I worked on this problem for a while and I have localized it pretty well now to ArcGIS 10.4 at its core (haven't tested 10.5): A column that contains special Unicode Characters (emojis) is not read ...
1
vote
1answer
162 views

Writing Shapes with GeoTools: Data fields with UTF-8 content are invalid

i'm creating Shapes using GeoTools SimpleFeatureType, SimpleFeatureBuilder and featureBuilder.add(...). (i can add snips if requested) Data Source is postgresql. Displaying the shapes with QGIS ...
2
votes
1answer
40 views

Showing images with special chars in path in map tips?

I do show jpg images through map tip's html. But if image's path has special characters (çãõ...) then map tip is not able to render it (the path to the images is directly writen in the html). If i ...
1
vote
0answers
157 views

Invalid character in UTF-8 when geocoding in QGIS

I am using QGIS 2.18. As suggested, I installed the MMQGIS plugin to help me geocode the csv file containing a list of addresses. I converted the file to utf-8 encoding format. But when i was trying ...
2
votes
0answers
367 views

QGIS not recognizing special characters and problem with intersection?

Started playing with QGIS recently and I have encountered a problem. I have a layer with administrative areas of my country and when adding it the encoding is set to UTF-8. When I open its attribute ...
4
votes
1answer
466 views

How to make a vector layer with Hebrew caption in Qgis?

I am working in Qgis and need to make layers with Hebrew caption. When I make a new layer and write a word in Hebrew, in this case on a point vector layer that I made, it looks just fine. However, ...
4
votes
1answer
1k views

Change default data source encoding in QGIS to utf8

Working in languages with special characters, I always struggle with remembering to change the data source encoding from system to utf8 when I import files. Is there a way to have it automatically use ...
1
vote
0answers
284 views

PyShp ASCII encoding error

I want to filter a set of Point Shapefiles using PyShp. That works fine with one of the file sets (one point shapefile) but throws an error for another set that states: UnicodeDecodeError: 'ascii' ...
10
votes
1answer
3k views

og2ogr character encoding problem

When I'm dissolving a shapefile: ogr2ogr "b:\out.shp" "b:\Tele.shp" -dialect sqlite -sql "SELECT ST_Union(geometry), nev, jar FROM Tele GROUP BY jar" I got error message like: Warning 1: One or ...
1
vote
0answers
213 views

Avoiding GDAL ERROR 4 / Python - UnicodeDecodeError:?

I'm developing my QGIS-plugin. Unfortunately I faced a problem I can't solve. Plugin works pretty fine, until user hendles non-ascii characters inside input or output paths. The problem occures when ...
0
votes
1answer
93 views

How to prevent GDAL-dissolve from ignoring attribute encoding?

Given a huge shapefile which needs desolving by one attribute field to reduce redundancy. The GDAL dissolve functionality does that quite swiftly but the output attributes change the encoding so äöü ...
5
votes
1answer
677 views

UTF-8 CSV import ok but after processing with utf-8 shapefile accent replaced by '?'

I m using QGIS 2.18 I export data from SQL Developer to a csv file with ";" as separator and with UTF-8 encoding. Then, I have imported the csv with UTF-8 encoding. Accents were imported right. ...
1
vote
2answers
673 views

MMQgis Plugin error in Qgis 2.18

I've tried to geocode with MMQgisPlugin a CSV file with addresses (converted from an Excel file) and I get an error: UnicodeDecodeError: 'utf8' codec can't decode byte 0xf1 in position 0: invalid ...
4
votes
1answer
4k views

How do I create/write a Shapefile with UTF-8 encoded attributes with ogr2ogr?

I'm using GDAL/OGR's ogr2ogr command line tool to export data from a PostGIS-enabled PostgreSQL database to various GIS file formats, Shapefile amongst them. To create a shapefile with the default ...
1
vote
1answer
128 views

Can a table (.dbf) be encoded in two different systems?

I am having a *.dbf-file. When I load it into QGIS (delimited text-file) I am having trouble getting all the characters right. Either I load it in encoding=windows-1252 - then the headers will be ...
3
votes
1answer
6k views

QGIS 2.14 Plugin Encoding Error

I've developed a plugin for QGIS 2.12 which uses data that is encoded in UTF-8. The plugin works fine for 2.12, but when I try to start it in QGIS 2.14 it throws me the following error: ...
0
votes
0answers
520 views

geotools shapefile does not support utf-8 for dbf header

I create a ShapefileDataStore to create a new shapefile and call dataStore.createSchema(...) . But it does not work for utf-8 header fields. I checked the geotools source code and realized that it ...