aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_telnet.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-01-18 17:38:11 +0100
committerSiri Hansen <[email protected]>2013-01-25 15:56:00 +0100
commit9c262fece1241bd006cd78ce84b63e4924c55325 (patch)
tree5bfbbbba6ca5128682790dc437f3020f00cf4d40 /lib/common_test/src/ct_telnet.erl
parentc463aaf0355d3a958df2335d13dc88aafb667f40 (diff)
downloadotp-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/common_test/src/ct_telnet.erl')
0 files changed, 0 insertions, 0 deletions