public
Description: Convert ANSEL encoded text to any other encoding available to Iconv
Homepage:
Clone URL: git://github.com/infused/ansel_iconv.git
Click here to lend your support to: ansel_iconv and make a donation at www.pledgie.com !
name age message
file .gitignore Mon Mar 23 22:32:42 -0700 2009 Gemify [infused]
file History.txt Mon Mar 23 22:32:42 -0700 2009 Gemify [infused]
file README.markdown Sun Oct 04 00:57:05 -0700 2009 Update README [infused]
file Rakefile Wed Mar 25 15:11:43 -0700 2009 Switch to jeweler gem manager [infused]
file VERSION.yml Wed Mar 25 15:11:55 -0700 2009 Version bump to 1.0.2 [infused]
file ansel_iconv.gemspec Wed Mar 25 15:12:04 -0700 2009 Regenerated gemspec for version 1.0.2 [infused]
directory lib/ Mon Mar 23 22:00:16 -0700 2009 Extract ANSEL converter from internal project [infused]
directory test/ Mon Mar 23 22:00:16 -0700 2009 Extract ANSEL converter from internal project [infused]
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.