infused / ansel_iconv

Convert ANSEL encoded text to any other encoding available to Iconv

This URL has Read+Write access

infused (author)
Sun Oct 04 00:40:11 -0700 2009
commit  732d5ad8ab36577b94c335c3bed145d221e3b36d
tree    5f6d43b8a67787c7694d91d45437c3f3ff900de7
parent  91cd3c788f9dd438ef99ea8bd5721efc86be327f
README.markdown

ANSEL::Iconv

ANSEL::Iconv is a wrapper for Iconv that adds ANSEL character set conversion to any other encoding supported by Iconv.

Copyright (c) 2006-2009 Keith Morrison keithm@infused.org, http://www.infused.org

Installation

gem install infused-ansel_iconv --source http://gems.github.com

Basic Usage

require 'ansel_iconv'

# Convert ANSEL to UTF-8
@ansel = ANSEL::Iconv.new 'UTF-8'
@ansel.iconv("\xB9\x004.59") # => "£4.59" 

About the ANSEL character set

ANSI/NISO Z39.47 also known as ANSEL is a character set encoding used primarily for bibliographic and genealogical data. More information can be found at the Official NISO standard page.

LICENSE:

(The MIT License)

Copyright (c) 2006-2009 Keith Morrison keithm@infused.org, http://www.infused.org

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.