You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@
3
3
[](https://travis-ci.org/JuliaArchive/LegacyStrings.jl)
The LegacyStrings package provides compatibility string types from Julia 0.5 (and earlier), which were removed in subsequent versions, including:
10
10
@@ -18,10 +18,8 @@ The LegacyStrings package provides compatibility string types from Julia 0.5 (an
18
18
19
19
LegacyStrings also defines and exports converter functions for these types, i.e.:
20
20
21
-
-`ascii`: convert to `ASCIIString`; on 0.5 since `Base` exports an `ascii` function as well, you must explicitly do `import LegacyStrings: ascii` or write `LegacyStrings.ascii` in order to use this function rather than `Base.ascii`.
21
+
-`ascii`: convert to `ASCIIString`; since `Base` exports an `ascii` function as well, you must explicitly do `import LegacyStrings: ascii` or write `LegacyStrings.ascii` in order to use this function rather than `Base.ascii`.
22
22
-`utf8`: convert to `UTF8String`.
23
23
-`utf16`: convert to `UTF16String`.
24
24
-`utf32`: convert to `UTF32String`.
25
25
-`wstring`: alias for `utf16` or `utf32` according to what `WString` is an alias to.
26
-
27
-
The definitions of the above types and functions are conditional on the version of Julia being used so that you can do `using LegacyStrings` unconditionally and be guaranteed that e.g. `LegacyStrings.ASCIIString` is an `ASCIIString` type that will behave as expect in Julia 0.4 or earlier.
0 commit comments