Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knu/ruby-unf_ext
Unicode Normalization Form support library for CRuby
https://github.com/knu/ruby-unf_ext
Last synced: 27 days ago
JSON representation
Unicode Normalization Form support library for CRuby
- Host: GitHub
- URL: https://github.com/knu/ruby-unf_ext
- Owner: knu
- License: mit
- Created: 2011-10-24T13:44:46.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-12-20T14:51:40.000Z (about 1 year ago)
- Last Synced: 2024-10-29T16:57:45.958Z (4 months ago)
- Language: Hack
- Homepage:
- Size: 4.02 MB
- Stars: 33
- Watchers: 7
- Forks: 34
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
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
---------------------* https://github.com/sile/unf
For issues regarding files under the directory `unf`, please
contact this upstream.* https://github.com/knu/ruby-unf_ext
The development site and the repository.
License
-------Copyright (c) 2010-2017 Takeru Ohta
Copyright (c) 2011-2018 Akinori MUSHALicensed under the MIT license.
See `LICENSE` for details.