View Single Post
  #5   Spotlight this post!  
Unread 15-05-2015, 15:11
Bonzabonz Bonzabonz is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Alumni
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Cedar Park Texas
Posts: 13
Bonzabonz is an unknown quantity at this point
Re: RoboRio and Serial Data

Quote:
Originally Posted by GeeTwo View Post
It's possible that java somehow thinks that it's getting Unicode instead of ascii, and mangling the strings on the way in. You may want to try getting the raw bytes in a buffer to see if you can use it instead.
I second this, in my experience, if you read the raw and do your own encoding things seem to work better. If you can post your code, we could probably take a look and see if anything obvious stands out.