Spy on serial data - Arduino
Your problem is most likely related to the library that you are using. Make sure that you have correctly set up baud rate, parity, data bits and stop bits. You can write a simple program for adruino that sends back the received character over UART. This way you can test whether or not you have correctly configured your serial port.