check only first byte of UTF-8 character with isspace in TrimX