Sconv version 0.1.0

Overview

The Module sconv provides a convenience layer for character encoding conversion. It is included by class String.

It automatically selects between kconv (for Japanese encodings) and iconv (for other encodings world-wide). It provides conversion methods directly on Strings, including destructive conversions. It provides methods with names of the form String#inputEncoding_to_outputEncoding automatically for any encoding supported by iconv or kconv.

For further information, please see: “A Study Concerning Multilingual Processing in Ruby”, Takuya SHIMADA, Kazunari ITO, and Martin J. Du“rst, Proceedings of the 69th Information Processing Society of Japan National Convention, March 2007 (in Japanese)

Future Work

  • Write tests and run them

  • Provide support for error messages

  • Provide support for other CES conversions

  • Provide automatic update for list of supported character encodings in ces.rb (depends on locally installed iconv library)

Copyright © 2007 Takuya Shimada, Martin J. Du“rst Licensed under the same terms as Ruby. Absolutely no warranty. (see www.ruby-lang.org/en/LICENSE.txt)