File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ julia> decode(ans, "UTF-16")
3737Use the ` encodings ` function to get the list of all supported encodings on the current platform:
3838``` julia
3939julia> 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")
8383julia> 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
8888julia> readstring (path) # Standard function expects UTF-8
8989" \U 3d83f7c0f\0 澊\0 n\0 o\0 迬\0 "
@@ -98,7 +98,7 @@ julia> readline(path, enc"UTF-16")
9898" café\n "
9999
100100julia> readlines (path, enc " UTF-16" )
101- 2 - element Array{ByteString ,1 }:
101+ 2 - element Array{String ,1 }:
102102 " café\n "
103103 " noël"
104104
You can’t perform that action at this time.
0 commit comments