Link to home
Start Free TrialLog in
Avatar of TeknikDev
TeknikDevFlag for United States of America

asked on

What are these codes mean? Unix?

Can anyone tell me what language this is written in?

For instance, what does ^@%02X%02X% mean?

User generated image
SOLUTION
Avatar of Gregory Miller
Gregory Miller
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Korbus
Korbus

This looks like the output of some unix program to me.
The codes you see are how the computers display vealues that do not equate to a normal ASCII letter or character.
ASCII is the standard way to encode text as digital information.
A single ASCII code can have up to 256 different values, which is more than all the letters (capital & lower case), number digits, punctuation and special characters like $ and &.  So how does a computer display values that dont match those standard characters?  Well that depends on the software, here is what UNIX does:  http://en.wikipedia.org/wiki/Control_character
http://en.wikipedia.org/wiki/Control_character
Can you try this:

strings <your_file>

and post a file with the output you get?

Also try:

file <your_file>

this is to let the OS try and determine the file type.

What OS are you running btw?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This means your terminal type is set incorrectly,

try export TERM=vt100
How are you opening/displaying the file?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@TeknikDev - No feedback on questions that are asked nor a closing comment from your side? Your sceenshot is showing a cursor on the 3rd line, looks like you're trying to edit your (binary) file with some editor.

Kindly reply to questions/suggestion next time. Thanks.

gerwinjansen
Topic Advisor