Shape文件的中文字段乱码解决方法探讨  

A Discussion on Solutions for the Chinese Character Garbled Code Problem in Shape File

在线阅读下载全文

作  者:付晓燕 蒋之富 罗春林 Fu Xiaoyan;Jiang Zhifu;Luo Chunlin(Southwest Forestry University,Kunming,Yunnan 650224,China;Kunming Survey&Design Institute of State Forestry Administration,Kunming,Yunnan 650216,China)

机构地区:[1]西南林业大学,云南昆明650224 [2]国家林业和草原局西南调查规划院,云南昆明650031

出  处:《绿色科技》2023年第8期276-280,共5页Journal of Green Science and Technology

摘  要:针对较为频繁发生的Shape文件中文字段乱码问题,首先系统性地研究了Shape文件组成结构、中文字符编码类型,分析了出现中文字段乱码的原因,然后列举利用现有软件解决中文乱码的几种方法,并探讨了现有方法的局限性,最后应用C#程序设计语言和开源开发包DotNetDBF开发了一个Shape文件中文乱码纠正工具。工具能识别多种不同的中文字符编码,能批量对Shape文件的乱码进行修复,可以在不同的编码之间进行转换。经验证表明:开发完成的中文乱码纠正工具可以解决Shape文件存在的大多数中文字段乱码转换问题,能满足行业应用的需求。In view of the frequent occurrence of Chinese field scrambling in Shape files,the structure of Shape files and the type of Chinese character encoding are firstly systematically studied;the reasons for the occurrence of Chinese field scrambling are analyzed;several methods are listed to solve Chinese field scrambling using existing software,and the limitations of existing methods are discussed.Finally,a tool is developed to parse Chinese garbled code in Shape files by using C#programming language and open source development package DotNetDBF.The conversion tool can recognize a variety of different Chinese character codes,repair the garbled code of Shape files in batches,and convert between different codes.The verification shows that the tool can solve the problem of most Chinese field garbled conversion in Shape files and meet the needs of industrial applications.

关 键 词:编码类型 DotNetDBF 中文编码转换 

分 类 号:P208[天文地球—地图制图学与地理信息工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象