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

0
votes
1answer
76 views

UnicodeDecodeError: 'utf8' codec- arcpy

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
41 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
42 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
53 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 ...
1
vote
1answer
31 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
190 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
48 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
68 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
559 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
369 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
46 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
196 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 ...
1
vote
0answers
332 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 ...
4
votes
1answer
524 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
79 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 '?' ...
1
vote
1answer
130 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 ...
2
votes
2answers
277 views

how to solve UnicodeDecodeError in arcpy?

I need to update datasource of Picture element of laout element of a mapdocument. but it is showing Unicode decode error. mxd= arcpy.mapping.MapDocument("CURRENT") for elm in ...
1
vote
0answers
34 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
465 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 ...
0
votes
1answer
1k 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
3k 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 ...
3
votes
1answer
735 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
130 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 ...