不具合 ID 番号 |
BUG-000117607 |
送信されました | October 22, 2018 |
最終更新日 | June 5, 2024 |
適用対象 | ArcGIS for Desktop |
見つかったバージョン | 10.4 |
オペレーティング システム | Windows OS |
オペレーティング システムのバージョン | 10.0 |
ステータス | Will Not Be Addressed
開発チームは、この問題またはリクエストを検討した結果、これに対処しないことに決定しました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
|
参考情報
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'
>>>
対処法
Add encode (UTF-8) in the expression.
再現の手順