如何用 UTF-8 编码的 Excel 打开文本文件? [英] How to open a text file with Excel in UTF-8 encoding?

查看:59
本文介绍了如何用 UTF-8 编码的 Excel 打开文本文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个扩展名为.tsv"的文本文件.它具有 UTF-8 编码并包含西里尔字符.当我尝试使用以下功能打开它时:打开方式"->Excel",Excel 没有显示正确的字符,而如果我以相同的方式使用 Notepad++ 打开它,我可以正确地看到字符.我想避免使用向导在 Excel 中导入文件.

I have a text file with ".tsv" extension. It has UTF-8 enconding and it contains cyrillic characters. When I try to open it with the function: "Open with"-> "Excel", Excel doesn't show the correct characters, while if I open it with Notepad++ in the same way, I can see characters correctly. I would like to avoid importing the file in Excel with the wizard.

推荐答案

使用数据,从文本获取外部数据,并为文件源提供正确的编码.

Use Data, Get External Data, From Text and supply the proper encoding for the File Origin.

这篇关于如何用 UTF-8 编码的 Excel 打开文本文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆