The shp2sde and tbl2sde commands need to support UNICODE n-string data to allow the proper importing of data that contains non-English characters.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM013560
已提交
December 10, 2007
上次修改时间
April 16, 2025
适用范围
No Product Found
找到的版本
9.3
修正版本
9.3
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
This bug is being fixed but need to use a conversion file to load.For example:To import foreign character shapefile correctly using shp2sde command, you will need to use a conversion file and convert the column type as nstring.For example, in the Russian shapefile, you have several columns contained Russian characters.To create an conversion file, use notepad and write the following line in the file:<shpCol> [sdeCol] [type] [size] [nDecs] [NOT_NULL]If the first field called "Fullname" contain Russian, then specify the following line in the conversion text file:FULLNAME FULLNAME nstring 100Then save this file as conversion.txt.Now you will use the following syntax to load this shapefile:shp2sde -o create -u map -p map -l Russian,shape -f <a href="file:C:/temp/russian.shp" target="_blank">C:\temp\russian.shp</a> -a file=<a href="file:C:/temp/conversion.txt" target="_blank">C:\temp\conversion.txt</a> -i 5151Added on 08/14/08 by Shwu-Jing Jeng