[Share Experiences] deepin foxmail通信录导入
Tofloor
poster avatar
wangxinyu
deepin
2022-03-16 01:05
Author

1、使用Foxmail或其它邮箱时, 导入.cvs通信录会出现乱码,导致不成功

截图_选择区域_20220315164725.png

2、分析可能是文件编码问题导致,由于使用wps对其进行编辑,可能导致编码改变。

如图,文件格式为UTF-8

截图_选择区域_20220315164956.png

3、通过icovn进行编码转换

$ file ./*
./address.csv:                UTF-8 Unicode text, with CRLF line terminators
./Foxmail地址簿_20220315.csv: UTF-8 Unicode text, with CRLF line terminators
$ iconv -f UTF-8 -t GB2312 address.csv -c > address1.csv
$ file *
address1.csv:               ISO-8859 text, with CRLF line terminators
address.csv:                UTF-8 Unicode text, with CRLF line terminators
Foxmail地址簿_20220315.csv: UTF-8 Unicode text, with CRLF line terminators

4、再次导入

截图_选择区域_20220315165845.png

Reply Favorite View the author
All Replies
神末shenmo
Moderator
Spark-App
2022-03-16 04:43
#1

虽然用不到,但感谢分享

Reply View the author
h_b
deepin
2022-03-16 19:38
#2

以前我也导入乱码,后面换阿里邮箱,阿里邮箱比这个好用我感觉,yyds

Reply View the author