check only first byte of UTF-8 character with isspace in TrimX
Merge pull request #4896 from sportica/mac_fix_space

Some character disappear on mac os x