Skip to content

chef/ruby-unf_ext

 
 

Repository files navigation

Note

This is a fork of the main project, to fix AIX compilation flags. It sets the versiont to 0.0.7.6, which may not exist on rubygems. This is consumed by the InSpec project, see inspec/inspec#2873 and inspec/inspec#3901

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 9.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-2017 Takeru Ohta Copyright (c) 2011-2018 Akinori MUSHA

Licensed under the MIT license. See LICENSE for details.

About

Unicode Normalization Form support library for CRuby - Fork for InSpec

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.6%
  • Ruby 0.4%