没有合适的资源?快使用搜索试试~ 我知道了~
uchardet:使用国际组件的Unicode库进行快速字符集编码检测
共23个文件
rb:8个
txt:4个
gemfile:1个
需积分: 10 0 下载量 188 浏览量
2021-05-16
16:14:30
上传
评论
收藏 12KB ZIP 举报
温馨提示
乌查代特 使用Unicode库的快速字符集编码检测:Unicode 安装 将此行添加到您的应用程序的Gemfile中: gem 'uchardet' 然后执行: $ bundle 或将其自己安装为: $ gem install uchardet 用法 require 'open-uri' require 'uchardet' text = open ( 'https://raw.githubusercontent.com/dmgk/uchardet/master/test/samples/shift_jis.txt' ) . read encoding = ICU :: UCharsetDetector . detect ( text ) encoding # => {:encoding=>"Shift_JIS", :confidence=>100, :l
资源推荐
资源详情
资源评论
收起资源包目录
uchardet-master.zip (23个子文件)
uchardet-master
LICENSE.txt 1KB
lib
uchardet.rb 514B
uchardet
cli.rb 2KB
version.rb 40B
Gemfile 38B
uchardet.gemspec 1KB
Rakefile 487B
.travis.yml 88B
test
test_helper.rb 97B
uchardet_cli_test.rb 331B
uchardet_extn_test.rb 4KB
samples
shift_jis.txt 25B
koi8-r.txt 100B
big5.txt 57B
uchardet_test.rb 557B
README.md 2KB
ext
extconf.rb 399B
uchardet.c 10KB
Gemfile.lock 320B
exe
uchardet 100B
.gitignore 17B
bin
console 362B
setup 131B
共 23 条
- 1
资源评论
刘怒威
- 粉丝: 26
- 资源: 4652
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功