File: README.md

package info (click to toggle)
ruby-unf-ext 0.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,128 kB
  • sloc: cpp: 14,043; ruby: 74; makefile: 2
file content (58 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
ruby-unf_ext
============

Synopsis
--------

* Unicode Normalization Form support library for CRuby

Description
-----------

* Normalizes UTF-8 strings into and from NFC, NFD, NFKC or NFKD

        # For bulk conversion
        normalizer = UNF::Normalizer.new
        a_bunch_of_strings.map! { |string|
          normalizer.normalize(string, :nfc) #=> string in NFC
        }

* Compliant with Unicode 6.0

Requirement
-----------

* Ruby 1.8.7+, 1.9.2+

* C++ compiler and libstdc++

Installation
------------

	gem install unf_ext

Or:

    ruby extconf.rb && make && make install

Development Resources
---------------------

* http://sourceforge.jp/projects/unf/
* http://sourceforge.jp/ticket/newticket.php?group_id=5256

    For issues regarding files under the directory `unf`, please
    contact this upstream.

* https://github.com/knu/ruby-unf_ext

    The development site and the repository.

License
-------

Copyright (c) 2010 Takeru Ohta
Copyright (c) 2011 Akinori MUSHA

Licensed under the MIT license.
See `LICENSE` for details.