Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kostya/idn_ffi
LibIdn FFI ruby binding
https://github.com/kostya/idn_ffi
Last synced: 20 days ago
JSON representation
LibIdn FFI ruby binding
- Host: GitHub
- URL: https://github.com/kostya/idn_ffi
- Owner: kostya
- License: mit
- Created: 2012-10-14T23:58:07.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-20T16:40:33.000Z (almost 12 years ago)
- Last Synced: 2024-09-18T16:19:08.543Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 129 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#LibIdn FFI ruby binding
```
sudo apt-get install libidn11
```Gemfile:
```ruby
gem 'idn_ffi'
``````ruby
IDNFFI.to_ascii "топ-site.рф"
=> "xn---site-iyehw.xn--p1ai"IDNFFI.to_unicode "xn---site-iyehw.xn--p1ai"
=> "топ-site.рф"
```