std::fs::path::Path should probably use a ByteArray instead of a String #314
Labels
accepting contributions
Issues that are suitable to be worked on by anybody, not just maintainers
std
Changes related to the standard library
String
requires its data to be valid UTF-8 and replaces invalid sequences with a replacement character. File paths in turn don't necessarily need to be valid UTF-8. As such, we should probably change the underlying storage ofPath
from aString
to aByteArray
.The text was updated successfully, but these errors were encountered: