Skip to content

Instantly share code, notes, and snippets.

View hexists's full-sized avatar

hexists

  • Korea
View GitHub Profile
#!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
import re
import sys
NUMERIC_CODE_PATTERN = re.compile(r'&#(\d+);')
def euc_to_utf(string):