aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/code_server.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-03-05 15:07:02 +0100
committerDan Gudmundsson <[email protected]>2015-03-10 12:43:20 +0100
commit94fe1619da9d5e67e5f67189562408cf1c42e618 (patch)
tree4dcfd3a5961987f5fdf1cc36fc6758a569e6f48b /lib/kernel/src/code_server.erl
parent27f4f54b13159ef9d2c430e2107ce2803374cfc3 (diff)
downloadotp-94fe1619da9d5e67e5f67189562408cf1c42e618.tar.gz
otp-94fe1619da9d5e67e5f67189562408cf1c42e618.tar.bz2
otp-94fe1619da9d5e67e5f67189562408cf1c42e618.zip
kernel: Fix file:read_line/1 unicode error handling
When a file was opened with some unicode encoding, file:read_line/1 could return unicode codepoints > 255 in list mode and wrong error message in bin mode. Chose to break out 'get_line' functionality from get_chars/5 since 'get_until' handling is different (comes from io module which should return unicode lists) and seems to have its own (doc?) problems.
Diffstat (limited to 'lib/kernel/src/code_server.erl')
0 files changed, 0 insertions, 0 deletions