Skip to content

Instantly share code, notes, and snippets.

Avatar

hexists

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