Adding print exception for unknown characters