Unable to localize Python Scripts for ArcToolboxes in the Cyrillic (Russian) language with UTF-16 encoding.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM044951
Submitted
April 30, 2009
Last Modified
April 2, 2025
Applies to
No Product Found
Version found
9.3
Version Fixed
10.0
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
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.