in reply to
Re^3: Weird encoding after grabing filenames
in thread Weird encoding after grabing filenames
Thank you very much that was waht i needed.
Allow me to ask this: Why only the path strings were plain ascii chars and the filenames were non-ascii which lead me to the extra use of Encode::from_to() to show it properly?
Does it has to do with the way(type of encoding) Vista encoded its filenames? And if this is the case here why encode the folders differently?
Because some characters are encoded the same in both ISO-8859-7 and UTF-8. So even though you program was buggy, you still happened to get some correct output.
Despite the "but", that doesn't contradict what I said. Those are characters that are encoded the same in both ISO-8859-7 and UTF-8.
Specifically, U+0020..U+007E are encoded the same in ASCII, ISO-8859-* and UTF-8.
The same name on every site (unless it is taken already)
A different name for every site
The same name for sites I don't care about, but different names on sites I do care about
Different names for sites I don't care about, but the same name on sites I do care about
The anonymous account
Someone else's username
Root, after hacking into the site
Results (257 votes),