Text encoding

I am an English / Spanish Spanish / English translator. I was given a job where I need to translate Spanish text messages sent from mobile phones. Some of them are in the code. I am assuming that each set of numbers represents a letter. Is there a site where I can find information on how to decrypt the code?

For example, the first message says:

'0x69 ox61 0x6e 0x70 0x72 0x2e 0x6e 0x65 0x74 0x2f 0x3f 0x64 0x34 0x39 0x31 0x66 0x30 0x37 0x38 0x35 0x35 0x32 0x39 0x62 0x36 0x31 0x31 0x00

Thanks for any help you provide.

Diana

+2


a source to share


6 answers


Here's a Hex-to-ASCII decoder that can accept your input format unchanged (insert in "0x ... notation" and click "Convert").



BTW, to help you understand: these "sets of numbers" represent each byte, written as a hexadecimal number (base 16). The 0x prefix is ​​how hexadecimal numbers are written in the C programming language (and many others). So now you have a series of bytes. They must then be interpreted as characters through a set of rules called "character encoding". This should happen wherever computers display text. Unfortunately, there are many different incompatible character encodings. Most of them agree on how to interpret the first 128 values ​​a byte can accept (US-ASCII encoding). But if you are dealing with Spanish text, you will quickly run into characters that are not represented in ASCII. Then it becomes important to choose the correct encoding; I doubt,that there is an online Hex notation conversion tool that allows you to choose the encoding.

+4


a source


This is the hex encoded URL, according to this translator :



ianpr.net/?d491f0785529b611

+3


a source


This is similar to Ascii code.

See http://en.wikipedia.org/wiki/ASCII - look at hex encoding. For example, 0x69 would be i.

+1


a source


Something like 'ianpr.net/?d491f0785529b611\x00'

:)

Decoding in Python:

a = "0x69 0x61 0x6e 0x70 0x72 0x2e 0x6e 0x65 0x74 0x2f 0x3f 0x64 0x34 0x39 0x31 0x66 0x30 0x37 0x38 0x35 0x35 0x32 0x39 0x62 0x36 0x31 0x31 0x00"
b = ""
for  i in a.split():
  b = b + chr(int(i[2]+i[3], 16))
print b 

      

+1


a source


Beware, if these are text messages, then this is GSM-7 , not ascii

+1


a source


Well, it looks like hex values, and if it's just ASCII text in hex, you can use a converter to find out what the message is.

http://www.dolcevie.com/js/converter.html

0


a source







All Articles