we should probably change to using the 3-arity version here since the second argument only specifies the encoding of input data that contains binaries [1] 

[1] http://www.erlang.org/doc/man/unicode.html#characters_to_binary-3