Bug-ID-Nummer |
BUG-000117607 |
Eingereicht | October 22, 2018 |
Zuletzt geändert | June 5, 2024 |
Gilt für | ArcGIS for Desktop |
Gefunden in Version | 10.4 |
Betriebssystem | Windows OS |
Betriebssystemversion | 10.0 |
Status | Will Not Be Addressed
Das Entwicklungsteam hat das Problem bzw. die Anforderung sorgfältig geprüft und ist zu dem Schluss gekommen, es nicht zu beheben bzw. keine weiteren Schritte zu unternehmen. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
Both those if statements will be false, so the Reclass will return None, which maps onto NULL. This is as expected.
the value passed into the expression will be a unicode string. See https://docs.python.org/2.5/ref/strings.html
>>> s1 = 'Végétation' # this is a string literal
>>> s2 = u'Végétation' # unicode string
>>> print(s1)
Végétation
>>> print(u2) # both look identical
Végétation
>>> s2==s1 # but they are not equal
False
>>> s1
'V\x82g\x82tation'
>>> u2
u'V\xe9g\xe9tation'
>>>
Workaround
Add encode (UTF-8) in the expression.
Schritte zur Reproduzierung