Fixed non-utf8/non-ISO88591 character issue in window title.