Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: c0cdcda998
Fetching contributors…

Cannot retrieve contributors at this time

59 lines (37 sloc) 1.049 kB

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

License

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

Licensed under the MIT license. See LICENSE for details.

Jump to Line
Something went wrong with that request. Please try again.