laptop and a wrench

Bogue

Unable to localize Python Scripts for ArcToolboxes in the Cyrillic (Russian) language with UTF-16 encoding.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM044951
EnvoiApril 30, 2009
Dernière modificationApril 2, 2025
S’applique àNo Product Found
Version trouvée9.3
Version de correction10.0
StatutFixed

Solution de contournement

Workaround A: Wrap the Cyrillic strings in the Unicode() python function outlined here: http://docs.python.org/library/functions.html#unicode and add the line #-*-coding:UTF-16-*- to the top of the python file, then save in UTF-16 encoding.Workaround B: Only use CP-1251 encoding when localizing python scripts in the Cyrillic (Russian) language.

Étapes pour reproduire

ID de bogue: NIM044951

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement