Gary Miyakawa Active Member Licensed User Longtime User Mar 5, 2014 #1 I'm using the same telnet routine that I use with B4A which normally works correctly. My application under B4A works fine but when I use B4J to recieve the same string, I get something different. Below is the correct information as recieved from Telnet/putty/vtc-remote/etc. callinfo begin callinfo:36:RMX10:140.242.210.12##761123:384:connected:notmutedutgoing:videocall callinfo end Click to expand... When recieved thru B4J I get the following... callinfo begin callinfo:36:RM10:140.242.210.12##761123:384:connected:notmutedutgoing:videocall callinfo end Click to expand... Notice there is a missing X after :RM... I've looked at this record saved and the "character" represented there is a "DC4" (x14). I've included a sample of the log that I capture as an attachment. Open it with Notepad++ to see the "DC4". I've also done a sniff trace of the data and the data is correct coming across the network. Am I missing a mapping of characters ? Any suggestions would be of great help! Thanks, Gary Miyakawa Attachments FailedCharacters.zip FailedCharacters.zip 823 bytes · Views: 452
I'm using the same telnet routine that I use with B4A which normally works correctly. My application under B4A works fine but when I use B4J to recieve the same string, I get something different. Below is the correct information as recieved from Telnet/putty/vtc-remote/etc. callinfo begin callinfo:36:RMX10:140.242.210.12##761123:384:connected:notmutedutgoing:videocall callinfo end Click to expand... When recieved thru B4J I get the following... callinfo begin callinfo:36:RM10:140.242.210.12##761123:384:connected:notmutedutgoing:videocall callinfo end Click to expand... Notice there is a missing X after :RM... I've looked at this record saved and the "character" represented there is a "DC4" (x14). I've included a sample of the log that I capture as an attachment. Open it with Notepad++ to see the "DC4". I've also done a sniff trace of the data and the data is correct coming across the network. Am I missing a mapping of characters ? Any suggestions would be of great help! Thanks, Gary Miyakawa
Erel B4X founder Staff member Licensed User Longtime User Mar 5, 2014 #2 Can you post the code that reads the string? Upvote 0
Gary Miyakawa Active Member Licensed User Longtime User Mar 5, 2014 #3 Thank you! When putting the code together to post to you, I found MY error. I had a left over .replace that was converting the character. Thanks again for great software (and support !) Gary Miyakawa Upvote 0
Thank you! When putting the code together to post to you, I found MY error. I had a left over .replace that was converting the character. Thanks again for great software (and support !) Gary Miyakawa