rubycas/rubycas-server — pull request #125 by tpickett66 (2012-10-18 15:27:15+00:00)
Title: UTF-8 Text mangling

This is an attempt to fix presentation of UTF-8 strings when using Ruby 1.9.3 in combination with ActiveSupport 2.3 and 3.0. The real cause of the problem is the vendored version of Builder included in these versions of ActiveSupport. Beyond what we've done here my recommendation is to do one of a few things (in order of my preference.
# Add a caveat to the README indicating that there is a problem with 1.9.3 and these older versions of ActiveSupport (I don't really like this but to me its this or drop support for ActiveSupport 2.3/3.0)
# Switch to another templating engine for XML generation (Nokogiri or Rabl?)
# Hand code the XML (This really increases the overhead of adding new peices of the API as we catch up with the JA-SIG impl)