On Tuesday, January 13, 2015 at 11:02:53 AM UTC+10, Steven G. Johnson wrote:
>
> My understanding is that the distinction between ASCIIString and
> UTF8String will be removed in a future Julia release.
In fact the documentation says readdir returns a Vector{bytestring} and a
bytestring is defined as being encoded as ASCII or UTF8, so I guess it
expresses that as a Union.
But since those annoying operating systems can return filenames encoded in
non-UTF8 it probably will not be safe in 0.4 to just return a UTF8 string.
Cheers
Lex