Handle unicode through try catch