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")
37
37
Use the ` encodings ` function to get the list of all supported encodings on the current platform:
38
38
``` julia
39
39
julia> encodings ()
40
- 1241 - element Array{ASCIIString ,1 }:
40
+ 1241 - element Array{String ,1 }:
41
41
" 1026"
42
42
" 1046"
43
43
" 1047"
@@ -83,7 +83,7 @@ julia> write(f, "café\nnoël")
83
83
julia> close (f); # Essential to complete encoding
84
84
```
85
85
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 ` :
87
87
``` julia
88
88
julia> readstring (path) # Standard function expects UTF-8
89
89
" \U 3d83f7c0f\0 澊\0 n\0 o\0 迬\0 "
@@ -98,7 +98,7 @@ julia> readline(path, enc"UTF-16")
98
98
" café\n "
99
99
100
100
julia> readlines (path, enc " UTF-16" )
101
- 2 - element Array{ByteString ,1 }:
101
+ 2 - element Array{String ,1 }:
102
102
" café\n "
103
103
" noël"
104
104
You can’t perform that action at this time.
0 commit comments