laptop and a wrench

Bug

Attempting to run the reclass function using the Field Calculator on a field using characters with accents results in <NULL> values.

Last Published: November 30, 2018 ArcGIS for Desktop
Bug ID Number BUG-000117607
SubmittedOctober 22, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.4
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

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.

Steps to Reproduce

Bug ID: BUG-000117607

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options