Skip to content

Instantly share code, notes, and snippets.

@masakichi
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masakichi/4316b3fd0f3c9350d597 to your computer and use it in GitHub Desktop.
Save masakichi/4316b3fd0f3c9350d597 to your computer and use it in GitHub Desktop.
filtered_words = ['\xb1\xb1\xbe\xa9','\xb3\xcc\xd0\xf2\xd4\xb1',
'\xb9\xab\xce\xf1\xd4\xb1', '\xc1\xec\xb5\xbc',
'\xc5\xa3\xb1\xc8', '\xc5\xa3\xb1\xc6', '\xc4\xe3\xc4\xef',
'\xc4\xe3\xc2\xe8', 'love', 'sex', 'jiangge']
for w in filtered_words:
print w # w.decode('gb18030').encode('utf-8')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment