Last active
December 18, 2015 17:39
-
-
Save ssendeavour/5820369 to your computer and use it in GitHub Desktop.
detect encoding of string in python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import chardet | |
chardet.detect('something中文Chinese') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment