Skip to content

Character encoding auto-detection in Ruby. As smart as your browser. Open source. (Ruby 1.9 compat)

License

Notifications You must be signed in to change notification settings

speedmax/rchardet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>.

About

Character encoding auto-detection in Ruby. As smart as your browser. Open source. (Ruby 1.9 compat)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%