shapefile与字符集编码设置

不适用’dbfDefault’的情况:

‘dbfDefault’ 这项设置仅对 ArcGIS Desktop 生效,对于一些很老版本的ArcGIS 产品不适用;仅对 shapefile 生效,Personal GDB等不生效。

无视 ‘dbfDefault’ 设置的包括:

In ArcInfo Workstation, ARCSHAPE with &CODEPAGE OEM creates a shapefile in OEM ARCSHAPE with &CODEPAGE ANSI creates a shapefile in ANSI INFODBASE with &CODEPAGE OEM creates a dBASE file in OEM INFODBASE with &CODEPAGE ANSI creates a dBASE file in ANSIIn ArcView 3.x, Shapefile and dBASE files are saved in the ANSI code page.In ArcGIS for Desktop (regardless of the dbfDefault setting), Personal geodatabases are saved in Unicode Personal geodatabase tables are saved in Unicode Coverages are saved in the ISO code page INFO files are saved in the ISO code page Interchange files are saved in the ANSI code page Text files are saved in the ANSI code page

‘dbfDefault’ 设置方法

1. 开始–运行,输入”Regedit“,打开注册表。

2. 如是用的是 10.x 版本 ArcGIS Desktop,定位到”My Computer\HKEY_CURRENT_USER\Software\ESRI\Desktop 10.x’

(如果是9.3.1之前的版本,定位到’My Computer\HKEY_CURRENT_USER\Software\ESRI’)。

3. 创建项’Common’,接着创建’CodePage’项,,添加 ‘字符串’,名称: dbfDefault,健值:oem(或者UTF-8)。

如下为支持的编码值:

OEM Code Page Values:

OEM, 437, 708, 720, 737, 775, 850, 852, 855, 857, 860, 861, 862, 863, 864, 865, 866, 869, 932, 936, 950ANSI Code Page Values:ANSI, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, Big5, SJISISO Code Page Values:ISO, 88591, 88592, 88593, 88594, 88595, 88596, 88597, 88598, 88599, 885910, 885913, 885915, EUCUnicode Values:UTF-8

现在,Shapefiles 可以以 UTF-8 存储,但是,只有在 ArcGIS Desktop 中才能被识别。

相关技术文章:

人生就是一次充满未知的旅行,在乎的是沿途的风景,

shapefile与字符集编码设置

相关文章:

你感兴趣的文章:

标签云: