Added UTF-8 check when constructing a String from a char.