Making sure you have a correct string conversion on STDIN