Skip to content

Instantly share code, notes, and snippets.

@lowstz
Created April 28, 2013 05:46
Show Gist options
  • Save lowstz/5476033 to your computer and use it in GitHub Desktop.
Save lowstz/5476033 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
ascii_num = [214, 247, 212, 170, 180, 205, 202, 188, 207, 235, 202, \
212, 202, 212, 184, 248, 212, 219, 195, 199, 188, 196, \
208, 187, 202, 177, 181, 216, 214, 183, 181, 201, 250, \
212, 208, 180, 181, 195, 182, 224, 188, 242, 184, 212, \
161, 173, 167, 173]
t = iter(ascii_num)
for a, b in zip(t, t):
print ("%c%c" % (a, b)).decode('gb18030'),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment