could only detect utf-8