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 | |
|---|---|---|---|
| |
COPYING | Sat Mar 24 09:38:28 -0700 2007 | |
| |
README | Sun Jul 19 22:00:14 -0700 2009 | |
| |
Rakefile | Fri Aug 22 01:16:31 -0700 2008 | |
| |
lib/ | Sun Jul 19 21:53:02 -0700 2009 |
README
rCharDet
=========
rCharDet is a character encoding detection library for ruby and the implementation is based
on Mozilla Charset Detectors. This is a forked project in a effort to make it Ruby 1.9 compatible
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>.







