set utput file encoding to utf-8
reduce number of toLowerCase calls in textchecker