Character encoding auto-detection in Ruby. Base on Mark Pilgrim's Python port.
Hui
gem "chardet", "~> 0.9.0"