• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between ASCII and binary files

 
Gica Butoiu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I tell in Java if a file is ASCII (it contains only ASCII characters) or binary ? I mean is there another method without checking the entire content of the file ?
--gica
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm closing this thread, since it's duplicated elsewhere. See Java in General - Beginner to respond.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!