Sha256: 1bdf7fefbdd05e2a289bc338851bb99d7a46bf4338f9736bfd659f015a9f650c

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

EncodingKawai - little sintax sugar for ruby force_encoding, also working on 1.8.7.

    gem 'encoding-kawai'

```ruby    
str.utf8! # str.respond_to?(:force_encoding) ? str.force_encoding('utf-8') : str
str.binary! # str.respond_to?(:force_encoding) ? str.force_encoding('binary') : str
```

Extend object.
```ruby
require 'encoding-kawai/object'

[str1, str2].utf8!
{str1 => str2}.utf8!
...
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
encoding-kawai-0.5 README.md
encoding-kawai-0.4 README.md
encoding-kawai-0.3 README.md