Chinaunix首页 | 论坛 | 博客

  • 博客访问: 916220
  • 博文数量: 226
  • 博客积分: 10077
  • 博客等级: 上将
  • 技术积分: 2708
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-25 14:36
文章分类

全部博文(226)

文章存档

2010年(15)

2009年(82)

2008年(129)

我的朋友

分类: LINUX

2008-07-27 16:55:47

介绍一个下查看文件编码的工具
在debian下通过apt-get install 就可以安装
它的说明如下:

is an Extremely Naive Charset Analyser. It detects character set and
encoding of text files and can also convert them to other encodings using
either a built-in converter or external libraries and tools like libiconv,
librecode, or cstocs.
Currently it supports Belarussian, Bulgarian, Croatian, Czech,
Estonian, Hungarian, Latvian, Lithuanian, Polish, Russian, Slovak,
Slovene, Ukrainian, Chinese, and some multibyte encodings independently
on language.

使用方法举例:

  1. root@debian:~:0# enca blog.sql
  2. Universal transformation format 8 bits; UTF-8
  3. root@debian:~:0#
  1. root@debian:~:0# enca abcd.txt
  2. Simplified Chinese National Standard; GB2312
  3. root@debian:~:0#
阅读(1216) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~