bom v0.1.1 BOM

Documentation for Bom.

Link to this section Summary

Functions

Add byte order mark to text

Add byte order mark to file

Link to this section Functions

Add byte order mark to text

Examples

iex> BOM.add("hello")
"hello" 

Add byte order mark to file

Examples

iex> File.write!("test/fixtures/test.csv", "test") 
iex> BOM.file_add("test/fixtures/test.csv")
iex> File.read!("test/fixtures/test.csv") 
"test"