Questions tagged [utf-8]
UTF-8 is a character encoding capable of encoding all possible characters, or code points, in Unicode.
24
questions
-2
votes
1answer
36 views
Every polygon-shapefile I create is corrupted [closed]
I am creating by hand a mask as a polygon shapefile (ESPG:32607, and all the other layers have the same reference). It works fine until I close my project and want to reload my shapefile.
Every mask ...
0
votes
0answers
24 views
Join between census shapefile and census CSV yields attribute table columns populated in disorderly fashion
I am using QGIS 3.10 to display American Community Survey variables at the census tract level. Last week, I successfully joined three ACS tables to duplicated copies of census tract geometries (same ...
1
vote
0answers
127 views
Encoding GeoJSON to something other than 'UTF-8' from QGIS
I want to save the shp file as GeoJSON and encode it to system,
but my QGIS is disabled for selecting an encoder.
Adjusted the 'ignore shapefile incoding declaration' option, but it did not work.
I ...
-1
votes
1answer
333 views
Error when unzipping LiDAR data with LAStools
I try to unzip LiDAR data (.laz) with LAStools under QGIS 3.4 but I get following error message :
Traceback (most recent call last):
File "path\to\LAStools\laszip.py", line 61, in processAlgorithm
...
2
votes
1answer
64 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:
...
4
votes
1answer
213 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
607 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
152 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
342 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
42 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
194 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
538 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
717 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, ...
5
votes
1answer
3k 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
451 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
4k 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
337 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
124 views
Preventing 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
950 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.
...
3
votes
2answers
787 views
MMQGIS Plugin error in QGIS 2.18
I've tried to geocode with MMQGIS Plugin 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 ...
8
votes
1answer
7k 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
238 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
642 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 ...