Sha256: ba54d02f627e9cb2e4dd57ffecaf09c45206aeb5db105f85a1d5b4da305ead03

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

= EncodingWithBom

# Encoding and add BOM

This is gem for encoding your text data and adding BOM(Byte Order Mark) in start of line. For example: 

`"Simple string".set_encoding_and_add_bom "UTF-16LE"`

 Result: String line which is correctly displayed in csv document on Microsoft Windows Office Excel and other table viewer.

 ## Instance method of string

 `.set_encoding_and_add_bom(encodign_to)`
 `.set_encoding_and_add_bom!(encodign_to)`
 `.add_bom`
 `.add_bom!`
 `.set_encoding(encoding_to)`
 `.set_encoding!(encoding_to)`

 ## Where 

 `encoding_to` -- string, which is encoding to.

 ### Thanks! :)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
encoding_with_bom-0.0.6 README.rdoc