Registry / utility / rchardet19

rchardet19

JSON →
library1.3.7rbrubygemsunverified

Character encoding auto-detection library ported from Mozilla, compatible with Ruby 1.9.

gem install rchardet19
INSTALL
IMPORT
SIG · RCHARDET19
R
rchardet19
utilityrubyv1.3.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rchardet19
require 'rchardet19'

Detect encoding of a byte sequence.

require 'rchardet19' cd = Rchardet19::CharDet.detect("\xE2\x82\xAC") puts cd.encoding
Debug
Known issues
breakingDesigned for Ruby 1.9; may not work on newer Ruby versions.
fix
Use the 'charlock_holmes' or 'rchardet' gem for modern Ruby.
affects: >= 2.0
Upgrade
Version history
1.3.7latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
rchardet19 — gem install rchardet19 · libregistry