Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Unicode Normalization Form support library for CRuby

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 ext
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 unf_ext.gemspec
README.md

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

Installation

gem install unf_ext

Or:

ruby extconf.rb && make && make install

Development Resources

License

Copyright (c) 2010 Takeru Ohta Copyright (c) 2011, 2012, 2013 Akinori MUSHA

Licensed under the MIT license. See LICENSE for details.

Something went wrong with that request. Please try again.