Y
Hacker News
new
|
ask
|
show
|
jobs
by
jcelerier
2112 days ago
> How should programs display it
what's wrong with foo����.txt
> or even address such a file? ... by using the array of bytes ?
2 comments
colejohnson66
2112 days ago
The fact that if one has two files, say “test{invalid bytes}.txt” and test{other invalid bytes}.txt”, both have replacement characters inserted at the same spot and would decode to the same codepoints.
link
ygra
2112 days ago
It's ambiguous, for example.
link
jcelerier
2112 days ago
so are a file named Hello.txt and another one named Нello.txt
link