Sha256: a74b20bede7700d709de96ad2a281a511246b447a67c3f6287fb6d5ae393bf2e

Contents?: true

Size: 772 Bytes

Versions: 114

Compression:

Stored size: 772 Bytes

Contents

ruby-unf
========

Synopsis
--------

* A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby

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

* Uses `unf_ext` on CRuby and `java.text.Normalizer` on JRuby.

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

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

        # Class method
        UNF::Normalizer.normalize(string, :nfc)

        # Instance methods of String
        string.to_nfc

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

	gem install unf

License
-------

Copyright (c) 2011, 2012, 2013 Akinori MUSHA

Licensed under the 2-clause BSD license.
See `LICENSE` for details.

Version data entries

114 entries across 86 versions & 14 rubygems

Version Path
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
unf-0.2.0-java README.md
unf-0.2.0 README.md
direct7-0.0.13 vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
direct7-0.0.12 vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
direct7-0.0.11 vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.1.0 vendor/bundle/ruby/2.7.0/gems/paynow_sdk-1.0.9/vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.1.0 vendor/cache/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.1.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.1.0 vendor/bundle/ruby/2.7.0/gems/paynow_sdk-1.0.9/vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.1.0 vendor/bundle/ruby/2.7.0/gems/paynow_sdk-1.0.9/vendor/cache/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.1.0 vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.0.9 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.0.9 vendor/bundle/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.0.9 vendor/cache/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.0.8 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/unf-0.1.4/README.md
paynow_sdk-1.0.8 vendor/cache/ruby/2.7.0/gems/unf-0.1.4/README.md