gmt-china / china-geospatial-data

China Geospatial Data for GMT
https://docs.gmt-china.org/latest/dataset-CN/
119 stars 29 forks source link

添加UTF8数据自动转化为GB2312的流程 #14

Closed CovMat closed 3 years ago

CovMat commented 3 years ago

中国断层数据中,添加断层中文名需要

seisman commented 3 years ago

使用如下命令将 UTF8 数据转换成了 GB2312 数据。

iconv -f UTF-8 -t GB2312 < CN-faults.gmt > CN-faults.GB2312.gmt

CN-faults.GB2312.gmt.zip

请下载该数据并确认在Windows下GMT是否可以正常显示中文。

core-man commented 3 years ago

See a tutorial for the iconv command

CovMat commented 3 years ago

使用如下命令将 UTF8 数据转换成了 GB2312 数据。

iconv -f UTF-8 -t GB2312 < CN-faults.gmt > CN-faults.GB2312.gmt

CN-faults.GB2312.gmt.zip

请下载该数据并确认在Windows下GMT是否可以正常显示中文。

测试了,可以使用