README.md in ffi-icu-0.4.3 vs README.md in ffi-icu-0.5.0

- old
+ new

@@ -1,6 +1,6 @@ -ffi-icu [![Build Status](https://travis-ci.org/erickguan/ffi-icu.svg?branch=master)](https://travis-ci.org/erickguan/ffi-icu) +ffi-icu [![Build Status](https://app.travis-ci.com/erickguan/ffi-icu.svg?branch=master)](https://app.travis-ci.com/erickguan/ffi-icu) ======= Simple FFI wrappers for ICU. Checkout the renovated [ICU gem](https://github.com/fantasticfears/icu4r) instead which supports various of encoding and distributed with packaged source. FFI-ICU needs some love with ICU gem's transcoding method. Gem @@ -125,9 +125,19 @@ formatter = ICU::TimeFormatting.create(:locale => 'cs_CZ', :date => :pattern, :time => :pattern, :skeleton => 'MMMMY') formatter.format(Time.now) #=> "únor 2015" formatter = ICU::TimeFormatting.create(:locale => 'cs_CZ', :date => :pattern, :time => :pattern, :skeleton => 'Y') formatter.format(Time.now) #=> "2015" +``` + +Transliteration +--------------- + +Example: + +```ruby +ICU::Transliteration.transliterate('Traditional-Simplified', '沈從文') # => "沈从文" + ``` Tested on: ==========