laptop and a wrench

Error

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

Última publicación: November 30, 2018 ArcGIS for Desktop
Número de ID del error BUG-000117607
EnviadoOctober 22, 2018
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Desktop
Versión encontrada10.4
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoWill Not Be Addressed

Información adicional

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' >>>

Solución alternativa

Add encode (UTF-8) in the expression.

Pasos para reproducir

ID del error: BUG-000117607

Software:

  • ArcGIS for Desktop

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga