/usr/share/doc/ruby-unf/README.md is in ruby-unf 0.1.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 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.
|