Skip to content

Commit 3fc5d8c

Browse files
committed
Update README to latest Julia output
1 parent 26338bc commit 3fc5d8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ julia> decode(ans, "UTF-16")
3737
Use the `encodings` function to get the list of all supported encodings on the current platform:
3838
```julia
3939
julia> encodings()
40-
1241-element Array{ASCIIString,1}:
40+
1241-element Array{String,1}:
4141
"1026"
4242
"1046"
4343
"1047"
@@ -83,7 +83,7 @@ julia> write(f, "café\nnoël")
8383
julia> close(f); # Essential to complete encoding
8484
```
8585

86-
The contents of the file can then be read back using `readstring` (or `readall` under Julia 0.4):
86+
The contents of the file can then be read back using `readstring`:
8787
```julia
8888
julia> readstring(path) # Standard function expects UTF-8
8989
"\U3d83f7c0f\0\0n\0o\0\0"
@@ -98,7 +98,7 @@ julia> readline(path, enc"UTF-16")
9898
"café\n"
9999

100100
julia> readlines(path, enc"UTF-16")
101-
2-element Array{ByteString,1}:
101+
2-element Array{String,1}:
102102
"café\n"
103103
"noël"
104104

0 commit comments

Comments
 (0)