There was an error while loading. Please reload this page.
1 parent 9cae962 commit 84966aeCopy full SHA for 84966ae
lib/elixir/lib/string.ex
@@ -1381,6 +1381,13 @@ defmodule String do
1381
@doc """
1382
Converts a string into a char list.
1383
1384
+ Specifically, this functions takes a UTF-8 encoded binary and returns a list of its integer
1385
+ codepoints. It is similar to `codepoints/1` except that the latter returns a list of codepoints as
1386
+ strings.
1387
+
1388
+ In case you need to work with bytes, take a look at the
1389
+ [`:binary` module](http://erlang.org/doc/man/binary.html).
1390
1391
## Examples
1392
1393
iex> String.to_char_list("æß")
0 commit comments