Unicode is intended to be a universal character set for describing all the characters required for written text incorporating all writing systems, technical symbols and punctuation.

learn more… | top users | synonyms

1
vote
1answer
81 views

Error when using viewshed analyis plugin with merged shapefile

I am using Qgis 2.12Lyon and try to run a viewshed analysis to show the intervisibility between several points in more than one shapefile. I have a digital elevation model (.tif) which is projected ...
1
vote
0answers
104 views

My QGIS keeps me returning “ascii” errors

First, whenever I open QGIS, the extension "Quickmap Services" returns an error with this tracker: Impossible to load the extension quick_map_services because of an error on calling InitGui() method ...
0
votes
1answer
48 views

Remove layers using python- path orientation

Expanding on my previous question Code error - remove layer using python, i try to remove layers from mxd's (in ArcMap 10.3, python 2.7.8), that don't appear in the data frame with this code: import ...
0
votes
1answer
186 views

ArcPy and File Geodatabase Character Encoding

I have a JSON file containing special characters, which can be represented in Unicode. However, as soon as I export that JSON file to a file geodatabase using arcpy, the special characters all "break,"...
1
vote
0answers
62 views

QGis cannot retrieve a text value from QLineEdit

I am a developing a small plugin with python for QGis. I have a QLineEdit widget and I need to take the input from there. The input is a 8 character number string. However when I try to retrieve the ...
2
votes
1answer
92 views

Using layer name with accent on letter in ArcPy?

I have a lot of MXDs (more than 200) and all of them use a polygon shapefile "study_area_v00.shp". In the data frame, its name is just "Study Area". Every time we change the boundary of the polygon, ...
1
vote
0answers
32 views

Can unicode characters be generated from unicode literals in QGIS expressions?

I know that unicode characters can be copied and pasted into expressions in QGIS, but can they be generated from a unicode literal ie u'\u00C9' without using a custom Python function?
0
votes
1answer
315 views

Understanding UnicodeDecodeError: 'utf8' codec in ArcPy script?

I work with arcmap 10.3 and python 2.7.8. I have more than 500 shapefiles that located in many folders and subFolders. All Sub Folders are located in one large directory. I try with arcpy to detect ...
1
vote
1answer
80 views

Using “calculate field” in python script fails to display Arabic characters correctly

Using “calculate field” in python script fails to display Arabic characters correctly. I have exported the modelbuilder to python script, but unfortunately the Arabic characters cannot by displayed ...
1
vote
1answer
61 views

Converting integer value to unicode for labeling in QGIS

It is possible to stylize a layer with integer numbers stored in a shapefile and then choose a symbol out of a font. I would like to use the label engine instead, because i'm more flexible, for ...
2
votes
0answers
87 views

How to change font used by ArcGIS Pro controls and dialogues to Khmer?

In Cambodia, we need to use Khmer font to show our own language characters. ArcGIS Pro which has Ribbon interface support the display of the Khmer font but we need to change the font to use Khmer font....
1
vote
1answer
37 views

Labelling problem for Shapefile with Indic Fonts

On my computer (Ubuntu 14.10, 64 bit), I am using QGIS 2.6. I have a shapefile, where the names of the features are written in Indic Script (using Google Transliterate). When I wish to label them, ...
2
votes
1answer
437 views

ogr2ogr + MapInfo TAB + SQLite (SpatiaLite) = unicode problems

I'm adding MapInfo TAB files to SQLite (SpatiaLite) database using those arguments: ogr2ogr -f "SQLite" dataset.sqlite somelayer.tab -dsco spatialite=yes Source file somelayer.tab have ...
2
votes
0answers
86 views

A list of layer names that you want to be turned off when Layers name are in Right to Left Such as persian

When I ran this code I got "UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal" error I don't know why I tried many way but I ...
1
vote
1answer
114 views

Multivalue input from a chosen field gives patchy inputs strings

I made a small tool that can be run from a toolbox. It has a validation code to choose multiple values from a specified field from a specified feature layer. It looks quite ordinary: The validation ...
2
votes
1answer
937 views

ArcGIS 10.0, Field Calculator Nested “if” statement with strings

I need to assign a value depending on other two columns "FNP" and "Teilort". I wrote this script in phyton for field calculator. It actually works (no error messages) but the results in every cell is ...
1
vote
1answer
706 views

How to get the mapserver WFS OGR driver to encode unicode in geojson

Running mapserver 6.4.1, gdal 1.14.3 I try to output some WFS features using outputformat=geojson. The relevant bits of the mapfile are appended below. Everything works fine, but unicode characters ...
1
vote
0answers
56 views

Does Unicode Common Locale Data Repository (CLDR) library have rules for longitude/latitude coordinates?

Does the Unicode Common Locale Data Repository (CLDR) library contain rules for formating longitude/latitude coordinates? I am looking for information how coordinates should be formatted in each ...
2
votes
1answer
387 views

Unicode Decode Error for shapefile in Python

I have Python script for converting shapefiles to Geojson. My code works well if I use some usa data, but when I want to use some other encoding, it gives me this error: Traceback (most recent ...
2
votes
0answers
607 views

Cause of Field Calculator UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 5: ordinal not in range(128)? [closed]

def Befahrung(value1,value2): if value1 is ' ': return ' ' else: return "G:\\Example\\" + str(value1) + "\\File_" + str(value2) + ".pdf" I try to create a field with a hyperlink. It works ...
5
votes
1answer
982 views

arcpy - ascii encoding error when updating field content in SQL Server table

I know there are plenty of posts and blog explanations about unicode errors, but I still can't figure out to handle it in my particular case. So here is my problem: I am writing a Python script to ...
1
vote
0answers
102 views

Converting MDB File With Unicode Characters

I'm using C# wrapper of GDAL and I'm having a problem converting MDB file that contains unicode characters. Lets take for example conversion to KML file, non-English characters are replaced by '?' ...
2
votes
1answer
263 views

Are unicode symbols supported in QGIS labels?

I want to use unicode symbols in a QGIS label - is this supported? I.e. I have this expression for labelling a line: case when xat(-1) - xat(0) > 0 then 'GF ->' else '<- GF' end and ...
3
votes
3answers
546 views

how to solve UnicodeDecodeError in arcpy?

I need to update datasource of Picture element of layout element of a mapdocument. but it is showing Unicode decode error. mxd= arcpy.mapping.MapDocument("CURRENT") for elm in arcpy.mapping....
1
vote
0answers
41 views

Unicode Characters in GRASS ps.map instructions file

I am trying to put text on a ps.map generated map and the text contains the degrees symbol. I can insert the symbol into the instructions file, and it looks fine, but when I generate the map, the ...
4
votes
2answers
659 views

Does QGIS support internationalization?

Does QGIS support multiple languages? I have some shapefile with Arabic names in its attributes, and they appear as: ???? If I want to see the names in Arabic, do I need to purchase multi-language ...
1
vote
1answer
2k views

How can I avoid UnicodeEncodeError when using geoprocessing tools in QGIS?

I have a shapefile, that I want to split with the "Split Layers by Field"-tool. Due to some umlauts (ä,ü,ö) there will be a python error as soon, as the tool reaches a feature with an umlaut. The ...
2
votes
1answer
5k views

Find and replace unicode character in a shapefile

I've found several example of script and blog posts on working with unicode characters, but I haven't been able to make anything works so far... It's a little frustrating I have a shapefile encoded ...
4
votes
1answer
982 views

Getting unicode encode error in ArcPy/Python script?

When I am running a script (it checks to which database a mxd is connected) I get the following error: return codecs.charmap_encode(input,errors,encoding_table) UnicodeEncodeError: 'charmap' codec ...
2
votes
1answer
147 views

How to generate Report with Unicode Character for Gujarati text?

I am using ArcMap 10.1 and want to generate report using Report Designer. In Report header i use Label Control for display unicode character (Gujarati) but when i copied gujarati text from word doc ...