External Encoding (for Ruby 1.9) - shairontoledo/rghost GitHub Wiki

if you are experiencing any issue using encoding in ruby 1.9 you can set RGhost::Config::GS[:external_encoding] (default is nil) before create a document.

Example

RGhost::Config::GS[:external_encoding]= 'ascii-8bit'
doc = RGhost::Document.new

This feature has been created by Clair Cardoso

⚠️ **GitHub.com Fallback** ⚠️