laptop and a wrench

漏洞

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

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM044951
已提交April 30, 2009
上次修改时间April 2, 2025
适用范围No Product Found
找到的版本9.3
修正版本10.0
状态Fixed

解决办法

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.

重现步骤

漏洞 ID: NIM044951

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项