https://github.com/pepabo/japanese_char_real
https://github.com/pepabo/japanese_char_real
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pepabo/japanese_char_real
- Owner: pepabo
- License: mit
- Created: 2014-11-13T05:29:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-13T05:50:07.000Z (over 11 years ago)
- Last Synced: 2025-01-26T18:17:32.136Z (over 1 year ago)
- Language: Ruby
- Size: 129 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Japanese Char Real
==================
ujisのデータベースとutf-8のアプリケーション環境で発生する文字化けを`一部`解消する
[][gem]
[][travis]
[gem]: https://rubygems.org/gems/japanese_char_real
[travis]: http://travis-ci.org/pepabo/japanese_char_real
Installation
------------
Add this line to your application's Gemfile:
```ruby
gem 'japanese_char_real'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install japanese_char_real
Usage
-----
```ruby
::String.__send__ :include, JapaneseCharReal::String
User.name
#=> 山 太郎
User.name.to_real
#=> 山﨑 太郎
```
Contributing
------------
1. Fork it ( https://github.com/pepabo/japanese_char_real/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request