Removed utf-8 and added clear to make sure branch exceptions didn't occur if an error occured
UTF-8 no longer crashes