Thread: How to read binary img file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Nov 2013
    Posts
    107
    Quote Originally Posted by Alpo View Post
    It will depend on what you are looking at it with, I would imagine. If you look at it with as text, you will see whatever the bits corresponding characters are in ASCII or UNICODE or whatever. If you look at it with a hex editor, you most likely see hexadecimal, which you could use to pick out specific things if you know the format of the data. It is all still the same data on the binary level.
    You need to learn the fundamentals ASCII, UNICODE, character sets. Binary ASCII is encoded according to the ASCII character set from 0-255, ASCII - Wikipedia, the free encyclopedia

  2. #2
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    Quote Originally Posted by jim_0 View Post
    You need to learn the fundamentals ASCII, UNICODE, character sets. Binary ASCII is encoded according to the ASCII character set from 0-255, ASCII - Wikipedia, the free encyclopedia
    I don't understand what you mean? I know a text editor will interpret the value according to the code page it is using (with most mapping the original 7 bits to the normal ASCII characters, and the upper bit mapping to diacritics or whatever wants to be there). How does this modify that a text editor would interpret the values to be whatever characters they map to?
    WndProc = (2[b] || !(2[b])) ? SufferNobly : TakeArms;

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Binary file read
    By BIGDENIRO in forum C Programming
    Replies: 4
    Last Post: 11-18-2013, 10:25 AM
  2. Replies: 12
    Last Post: 06-18-2012, 08:23 AM
  3. Binary read from file
    By dereach in forum C Programming
    Replies: 5
    Last Post: 02-27-2008, 03:34 PM
  4. Read binary file
    By Ken JS in forum C++ Programming
    Replies: 3
    Last Post: 05-29-2007, 11:12 AM