Err... Not necessarily.
A Generic hex / file editor is fine. They represent Hexadecimal as "text". Not necessarily ASCII... in fact, it's entirely the wrong way around of thinking of it. ASCII can be represented in Hexadecimal form... but Hexadecimal is just a representation of numbers. ASCII is a numerical representation of Latin text, and associated punctuation. :\ Why would you want to represent a number system as a numeric representation of Latin characters?
For example... this is the ASCII representation of Rebeo1s' first post in this thread:-
Code:
49206861766520706C6179656420505420666F722039206F722031302079727320616E642049206C6F766520697420616E6420616C776179732077696C6C0D0A0D0A45646974696E672067616D657320697320736F6D657468696E6720692068617665206E6576657220646F6E6520756E74696C206120666577206D6F6E7468732061676F2E0D0A4265666F726520776F726B696E672077697468205054206920686164206E6576657220757365642050686F746F73686F702C203344534D61782C206F7220616E797468696E67206C696B65207468656D20616E64206E6F77206920757365203344534D617820616E642050686F746F73686F70206A7573742061626F757420657665727964617920776F726B696E67206F6E206D792067616D65206D6F647320616E64206920656E6A6F792069742E0D0A0D0A492068617665206C6561726E65642061206C6F742061626F75742032642F3364206D6F64656C696E6720616E642064657369676E2062656361757365206F6620505420616E64206E6F7720692077616E7420746F20657870616E64206D79206B6E6F776C6564676520746F2065646974696E67207468652068657820636F646520616E6420616E64207573696E672048657820656469746F727320736F20692063616E20776F726B2064656570657220696E746F20746865207365727665722066696C657320736F20692063616E20646F20776861742065766572206D6179206265206E6565646564206C696B65205850207461626C652065646974696E6720616E64207468696E6773206C696B6520746861742E0D0A0D0A4920646F6E74206861766520746865206D6F6E6579207269676874206E6F7720746F20676F20746F207363686F6F6C20616E64206C6561726E20686F7720746F20646F207468697320616E6420692068617665206C6F6F6B65642061206C6F74206F6E20746865206E657420666F72206672656520636F757273657320616E64207475746F7269616C73206F6E20686F7720746F20776F726B207769746820636F64696E67206275742063616E742066696E6420616E797468696E6720746861742077696C6C2068656C70206D65206C6561726E0D0A0D0A492077617320686F70696E6720736F6D656F6E65206865726520636F756C6420706F696E74206D6520696E2074686520726967687420646972656374696F6E0D0A0D0A5468616E6B7320666F7220616E7920696E666F20616E64207469707320
That's how it is encoded as ASCII! But... how would you turn
that into Hex?
Perhaps like this
Code:
34393230363836313736363532303730364336313739363536343230353035343230363636463732323033393230364637323230333133303230373937323733323036313645363432303439323036433646373636353230363937343230363136453634323036313643373736313739373332303737363936433643304430413044304134353634363937343639364536373230363736313644363537333230363937333230373336463644363537343638363936453637323036393230363836313736363532303645363537363635373232303634364636453635323037353645373436393643323036313230363636353737323036443646364537343638373332303631363736463245304430413432363536363646373236353230373736463732364236393645363732303737363937343638323035303534323036393230363836313634323036453635373636353732323037353733363536343230353036383646373436463733363836463730324332303333343435333444363137383243323036463732323036313645373937343638363936453637323036433639364236353230373436383635364432303631364536343230364536463737323036393230373537333635323033333434353334443631373832303631364536343230353036383646373436463733363836463730323036413735373337343230363136323646373537343230363537363635373237393634363137393230373736463732364236393645363732303646364532303644373932303637363136443635323036443646363437333230363136453634323036393230363536453641364637393230363937343245304430413044304134393230363836313736363532303643363536313732364536353634323036313230364336463734323036313632364637353734323033323634324633333634323036443646363436353643363936453637323036313645363432303634363537333639363736453230363236353633363137353733363532303646363632303530353432303631364536343230364536463737323036393230373736313645373432303734364632303635373837303631364536343230364437393230364236453646373736433635363436373635323037343646323036353634363937343639364536373230373436383635323036383635373832303633364636343635323036313645363432303631364536343230373537333639364536373230343836353738323036353634363937343646373237333230373336463230363932303633363136453230373736463732364232303634363536353730363537323230363936453734364632303734363836353230373336353732373636353732323036363639364336353733323037333646323036393230363336313645323036343646323037373638363137343230363537363635373232303644363137393230363236353230364536353635363436353634323036433639364236353230353835303230373436313632364336353230363536343639373436393645363732303631364536343230373436383639364536373733323036433639364236353230373436383631373432453044304130443041343932303634364636453734323036383631373636353230373436383635323036443646364536353739323037323639363736383734323036453646373732303734364632303637364632303734364632303733363336383646364636433230363136453634323036433635363137323645323036383646373732303734364632303634364632303734363836393733323036313645363432303639323036383631373636353230364336463646364236353634323036313230364336463734323036463645323037343638363532303645363537343230363636463732323036363732363536353230363336463735373237333635373332303631364536343230373437353734364637323639363136433733323036463645323036383646373732303734364632303737364637323642323037373639373436383230363336463634363936453637323036323735373432303633363136453734323036363639364536343230363136453739373436383639364536373230373436383631373432303737363936433643323036383635364337303230364436353230364336353631373236453044304130443041343932303737363137333230363836463730363936453637323037333646364436353646364536353230363836353732363532303633364637353643363432303730364636393645373432303644363532303639364532303734363836353230373236393637363837343230363436393732363536333734363936463645304430413044304135343638363136453642373332303636364637323230363136453739323036393645363636463230363136453634323037343639373037333230
So you see... you can keep turning text into numbers and numbers into a textural representation indefinitely and the information only becomes larger and more complex. That really doesn't get you anywhere.
Here is something better to consider... A decent file editor (IMHO) can read any file, and represent it in a number of different ways, each of which may be advantageous in determining meaning (information) from the otherwise meaningless data. See
To view the content, you need to sign in or register
. (a favourite, because it is offered free of charge,
and openly licensed as well as offered with complete source code to enable one to know how it achieves what it does) That can represent text in many encodings, and more general numeric data in a file stream as Hexadecimal.
It has many means of editing such data as well. It can insert and delete information from arbitrary locations within the file stream, or within a text document. Or it can represent text in a columnar form and insert or delete entire columns of text... padding where necessary. It can perform arbitrary search and replace operations on text or pure numeric bytes.
But there are more advanced editors which can represent numerical information in decimal, hexadecimal, octal and many other forms. In LSB or MSB encoding, or even as structured data, when given a field structure to base such a representation in. As image data, either bit-mapped or vectorised... when instructed how it should consider such structures... and so on. And they will (if they are any good) allow the user to provide templates to tell it how to structure data into such representations.
Recognise that any file, and any section of computer memory is merely a stream of 1s and 0s. That the most common delineation of 1s and 0s is 8 digits, and that Hex is about the most basic human readable representation of those numbers as anyone can make... if they know nothing else about that data other than that it is a file, or block of memory. If all you know is that it has a certain number of bytes which start "here", and end "there" then there is no better way to try to begin understanding their meaning that by looking at them as Binary, or Hexadecimal numbers.
A good "guess" for many files is to try reading them as "ASCII" text, because many other encodings are heavily based on ASCII. If you can determine that 98% of the bytes have 0 as the high bit, then you can be even more confident that such a view will be fruitful. (but you still cannot be certain) Since it takes no more time to look at a file as ASCII than it does to look at it as Hex, most "Hex Editors" (generic file editors) will usually list the ASCII equivalent of every 16 bytes of hexadecimal numbers next to that representation as ASCII.
If hex is about the most human readable representation of any kind of data that a computer can hold, then I can post, in a plain, semi-readable from, absolutely any information on this forum as Hex, and you can read it. I can post:-
- A program
- A 3D model
- A painting
- A font
- A Film
- A novel
- The text I'm writing now (as hex)
And, of course, the number of different ways I could post Motzarts' 5th Symphony as hex are almost innumerable when you consider I could post it as PCM audio, (in hex) as an MP3, (in hex) as MIDI code, (in hex) as a Tracker Mod, (in hex) as sheet music, (from many standard forms ... in hex) or even as a PDF of his original manuscript. (in hex)
