Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
nalimilan authored May 23, 2021
1 parent a250678 commit d74c52e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/StringEncodings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -539,15 +539,13 @@ end
encodings()
List all encodings supported by `encode`, `decode`, `StringEncoder` and `StringDecoder`
(i.e. by the current iconv implementation).
(i.e. by GNU libiconv).
Note that encodings typically appear several times under different names.
In addition to the encodings returned by this function, the empty string (i.e. `""`)
is equivalent to the encoding of the current locale.
Some implementations may support even more encodings: this can be checked by attempting
a conversion. In theory, it is not guaranteed that all conversions between all pairs of encodings
are possible; but this is the case with all reasonable implementations.
Even more encodings may be supported: this can be checked by attempting a conversion.
"""
function encodings()
filter(test_encoding, encodings_list)
Expand Down

0 comments on commit d74c52e

Please sign in to comment.