Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to Determine a File's Character Code

by AndyZaft (Hermit)
on Jul 23, 2010 at 19:11 UTC ( [id://851086]=note: print w/replies, xml ) Need Help??


in reply to How to Determine a File's Character Code

As far as "some characters clearly printed", if a file is binary, bytes in it can fall between the a-z A-Z 0-9 ranges, that doesn't mean the other bytes are "garbage". Many files have header information that would indicate what the file is used for. As in the other post, the 'file' on *nix could tell you something about most of them. cygwin also has this, so you can check some files already in windows, just don't expect 100% accuracy. There are probably windows apps that try to do the same too.
  • Comment on Re: How to Determine a File's Character Code

Replies are listed 'Best First'.
Re^2: How to Determine a File's Character Code
by spickles (Scribe) on Jul 23, 2010 at 19:31 UTC
    Thanks Gents!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found