RubyGems.org

It just occurred to me that if we are encoding our HTML pages in UTF-8 to handle multiple languages and using web fonts with multilanguage support, shouldn't we be able to directly insert the simple apostrophe, ellipsis, and em-dash? RubyPants-Unicode is a Ruby port of the smart-quotes library SmartyPants that outputs unicode characters (UTF-8) instead of HTML entities. The original "SmartyPants" is a free web publishing plug-in for Movable Type, Blosxom, and BBEdit that easily translates plain ASCII punctuation characters into "smart" typographic punctuation HTML entities.

installgem install rubypants-unicode
Authors

Christian Neukirchen, Chris Chapman

4,125 total downloads 2,894 for this version
Owners

Aa20f35eb9a45a92902346df85fb889a

Gemfile
gem 'rubypants-unicode', '~> 0.2.3'
Versions
  1. 0.2.3 August 13, 2012 (10.5 KB)
  2. 0.2.1 August 13, 2012 (11 KB)
  3. 0.2.0 July 30, 2012 (11 KB)
Show all versions (4 total)