Fixed bug with some characters set