Fixed an OS detection issue with random unicode characters