This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
rchardet /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Jul 19 21:56:42 -0700 2009 | |
| |
COPYING | Sat Mar 24 09:38:28 -0700 2007 | |
| |
README | Mon Apr 02 21:43:57 -0700 2007 | |
| |
Rakefile | Fri Aug 22 01:16:31 -0700 2008 | |
| |
lib/ | Wed Sep 09 19:55:10 -0700 2009 | |
| |
rails_test/ | Thu Jul 16 21:39:43 -0700 2009 |
README
Usage:
require 'rubygems'
require 'rchardet'
cd = CharDet.detect(some_data)
encoding = cd['encoding']
confidence = cd['confidence'] # 0.0 <= confidence <= 1.0
Project page:
http://rubyforge.org/projects/rchardet
Made for rFeedParser <http://rfeedparser.rubyforge.org>.







