无需任何数据更改即可将xls转换为csv [英] convert xls to csv without any data changes
问题描述
我有xls文件,在他里面是非常unicode的数据,还有类似 0004
等的数据.
I have xls file, in him is very unicode data, also data like this 0004
and etc.
我需要将此文件转换为csv格式,但是如果从ms excel中简单地另存为csv
,则数据会更改,unicode符号会转换为- ???
像这样的 0004
,转换为 4
I need convert this file to csv format, but if simple save as csv
from ms excel, data are changed, unicode symbols converted to - ???
, data like this 0004
, converted to 4
是否可以在不进行任何数据更改的情况下将xls转换为csv?
There are possible to convert xls to csv without any data changes ?
推荐答案
以下是三种方法:
I)使用 openoffice
,您可以将任何 ms excel
格式转换为任何 excel
格式(也可以是 csv
)并且您还可以选择字符编码,定界符等,例如 utf-8
.
I) With openoffice
you can convert any ms excel
format to any excel
format (csv
too) and you can choose the character encoding, delimiter characters, etc for example utf-8
too.
1)在 openoffice
2)文件/另存为
3)选择输出格式(CSV)
3) Choose the output format (CSV)
4)单击保存
5)出现一个对话框,选择字符编码,定界符和其他...
5) A dialog appears, choose character encoding, delimiter character and the other ...
II)您也可以通过 ms office> = 2010
来做到这一点:
II) You can do it with ms office >= 2010
too:
http://www.excelforum.com/excel-general/400043-csv-and-unicode-or-utf-8-problem.html
III)或如果您具有 notepad ++
,则可以转换错误"字符编码的 csv
文件的字符编码.字符编码是UTF还是ANSI?
III) Or if you have notepad++
you can convert character encoding of the 'wrong' character encoded csv
file. Character Encoding, UTF or ANSI?
这篇关于无需任何数据更改即可将xls转换为csv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!