No commit activity in last 3 years
No release in over 3 years
Character encoding auto-detection in Ruby. This library is a port of the auto-detection code in Mozilla. It means taking a sequence of bytes in an unknown character encoding, and attempting to determine the encoding so you can read the text. It’s like cracking a code when you don’t have the decryption key.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.1.0
 Project 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>.