
lv extention library for Ruby

  This is a ruby extention library for converting text encoding
  with text viewer LV.

* Requirement

  Ruby 1.4.x or later
    http://www.ruby-lang.org/
  LV 4.49.1 (or later)
    http://www.ff.iij4u.or.jp/~nrt/lv/


* Installation

  1. Extract this archive
    $ tar zxf ruby-lv-x.xx.tar.gz
  2. Extract LV archive
    $ cd lv
    $ tar zxf lv4491.tar.gz
    $ ln -s lv4491 lv
  3. Compile LV
    $ cd lv/src
    $ patch < ../../lv4491.patch
    $ cd ../build
    $ ../src/configure
    $ make liblv.a
    $ cd ../..
  4. Make Makefile
    $ ruby extconf.rb
  5. Compile
    $ make
  6. Install
    $ su
    # make site-install


* Example

  require 'lv'
  # ...
  jis_string = LV.convert(euc_string, LV::EUC_JAPAN, LV::ISO_2022_JP)
  jis_string = LV.convert(any_string, LV::AUTOSELECT, LV::ISO_2022_JP)

  See the API Document in doc/api-en directory for details.


* Copying

  You can redistribute this library and/or modify it under the
  same term of Ruby.  License of Ruby is included with Ruby
  distribution in the file "README".


* The Author

  Please send comments and bug reports to the author:
    Hiroshi IGARASHI <igarashi@ueda.info.waseda.ac.jp>


--
Hiroshi IGARASHI
e-mail: igarashi@ueda.info.waseda.ac.jp
http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/
