diff options
author | Siri Hansen <[email protected]> | 2013-01-18 17:38:11 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-01-25 15:56:00 +0100 |
commit | 9c262fece1241bd006cd78ce84b63e4924c55325 (patch) | |
tree | 5bfbbbba6ca5128682790dc437f3020f00cf4d40 /lib/inets | |
parent | c463aaf0355d3a958df2335d13dc88aafb667f40 (diff) | |
download | otp-9c262fece1241bd006cd78ce84b63e4924c55325.tar.gz otp-9c262fece1241bd006cd78ce84b63e4924c55325.tar.bz2 otp-9c262fece1241bd006cd78ce84b63e4924c55325.zip |
[ts] Use unicode:characters_to_list/2 instead of binary_to_list/1
When reading text files with file:read_file/1, assume that the file
has the default encding (epp:default_encoding()) and covert the binary
to string by unicode:characters_to_list(Bin,DefaultEncoding) instead
of binary_to_list(Bin) as before.
Diffstat (limited to 'lib/inets')
0 files changed, 0 insertions, 0 deletions