stevefolder/vendor/bundle/ruby/3.1.0/gems/unf_ext-0.0.8
2022-02-04 18:48:09 -05:00
..
.github/workflows init 2022-02-04 18:48:09 -05:00
ext/unf_ext init 2022-02-04 18:48:09 -05:00
lib init 2022-02-04 18:48:09 -05:00
test init 2022-02-04 18:48:09 -05:00
.document init 2022-02-04 18:48:09 -05:00
.gitignore init 2022-02-04 18:48:09 -05:00
CHANGELOG.md init 2022-02-04 18:48:09 -05:00
Gemfile init 2022-02-04 18:48:09 -05:00
LICENSE.txt init 2022-02-04 18:48:09 -05:00
Rakefile init 2022-02-04 18:48:09 -05:00
README.md init 2022-02-04 18:48:09 -05:00
unf_ext.gemspec init 2022-02-04 18:48:09 -05:00

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.