如何检查 CSV 文件的编码 [英] How to check encoding of a CSV file

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

问题描述

我有一个 CSV 文件,我想了解它的编码.Microsoft Excel 中是否有菜单选项可以帮助我检测它

I have a CSV file and I wish to understand its encoding. Is there a menu option in Microsoft Excel that can help me detect it

或者我是否需要使用 C# 或 PHP 等编程语言来推断它.

OR do I need to make use of programming languages like C# or PHP to deduce it.

推荐答案

您可以使用 Notepad++ 来评估文件的编码,而无需编写代码.打开文件的评估编码将显示在最右侧的底部栏上.可以通过转到 Settings -> 来查看支持的编码.首选项 ->新建文档/默认目录并查看下拉列表.

You can use Notepad++ to evaluate a file's encoding without needing to write code. The evaluated encoding of the open file will display on the bottom bar, far right side. The encodings supported can be seen by going to Settings -> Preferences -> New Document/Default Directory and looking in the drop down.

这篇关于如何检查 CSV 文件的编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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