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

1,249 total downloads 576 for this version
Owners

Aa20f35eb9a45a92902346df85fb889a

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