Re: "space" in hex?

Tech-Archive recommends: Speed Up your PC by fixing your registry



dalz via VBMonster.com wrote:
I have problem in converting "space" to hex and be read again as "space" in
string

Ex: input text = abcd defg
I must convert this text to hex so it can be store to the card
Then when the card is read by the reader it must return the same result =
abcd defg

But what happening is:

input text = abcd defg
result in hex = 61 62 63 64 20 64 65 66 67 convert it again to string = abcdAIKM'

how to read the "space"??

thanks


Something wrong, there.

Lower case "abcd defg" should be 96, 97, 98, 99 20 99 100 101 102

Take another look at your encrypting algorithm. It aint right

Argusy

.



Relevant Pages

  • Re: "space" in hex?
    ... input text = abcd defg ... I must convert this text to hex so it can be store to the card ... The hex conversion is correct as dalz has wrote it. ...
    (microsoft.public.vb.syntax)
  • "space" in hex?
    ... input text = abcd defg ... I must convert this text to hex so it can be store to the card ... convert it again to string = abcdAIKM' ...
    (microsoft.public.vb.syntax)
  • Ascii Import/Export for SD card and Emulator
    ... and the same situation when using an emulator. ... when you put the source text files on an SD card ... as a string on the stack, waiting for translation help, ... isn't UserRPL. ...
    (comp.sys.hp48)
  • Re: input command
    ... When you store a text string into the SD card, ... bit of text at the beginning indicating a file type to the ...
    (comp.sys.hp48)
  • Re: calling function with dll files
    ... > As Integer ' open communication session with the card reader ... > (ByVal port As Integer, ByVal Rdrname As String, ByVal nRdrLen As ...
    (microsoft.public.vb.general.discussion)