File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,8 +152,10 @@ defmodule IO do
152152
153153 The `device` is iterated as specified by the `line_or_chars` argument:
154154
155- * if `line_or_chars` is an integer, it represents a number of characters. The device
156- is iterated by that number of characters.
155+ * if `line_or_chars` is an integer, it represents the number of characters
156+ according to the device encoding (either latin1 or utf8). The device is
157+ iterated by that number of characters. Use `binread/2` if you desire to
158+ read bytes.
157159
158160 * if `line_or_chars` is `:line`, the device is iterated line by line.
159161 CRLF newlines ("\r\n") are automatically normalized to "\n".
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ defmodule Mix.ProjectStack do
1010 @ timeout :infinity
1111
1212 # compile.lock is not the best name, but the name is completely
13- # opaque and we keep it for backwards compatibility (just in case) .
13+ # opaque and we keep it for backwards compatibility.
1414 @ manifest "compile.lock"
1515
1616 @ typep file :: binary
You can’t perform that action at this time.
0 commit comments