Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Weird encoding after grabing filenames

by ikegami (Pope)
on Jun 17, 2009 at 14:13 UTC ( #772406=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Weird encoding after grabing filenames
in thread Weird encoding after grabing filenames

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.


Comment on Re^5: Weird encoding after grabing filenames
Re^6: Weird encoding after grabing filenames
by Nik on Jun 17, 2009 at 17:11 UTC
    But the data that actually got prined correctly weren't greek characters. They were data composed of english letters like "/home/nikos/public_html/data/text".

      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://772406]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-07-26 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls