public
Fork of jmhodges/rchardet
Description: Character encoding auto-detection in Ruby. As smart as your browser. Open source. (Ruby 1.9 compat)
Homepage: http://rubyforge.org/projects/rchardet
Clone URL: git://github.com/speedmax/rchardet.git
name age message
file COPYING Sat Mar 24 09:38:28 -0700 2007 merging new directory structure from -gem [Jeff Hodges]
file README Sun Jul 19 22:00:14 -0700 2009 [speedmax]
file Rakefile Fri Aug 22 01:16:31 -0700 2008 why didnt i have a Rakefile here before? [jmhodges]
directory lib/ Sun Jul 19 21:53:02 -0700 2009 Try to access String#bytes (ruby 1.9) when poss... [speedmax]
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>.