@@ -0,0 +1,1186 @@
+#!python%0A# -*- coding: utf-8 -*-%0A# %0A# Convert text encoding of the source files to UTF-8 with BOM.%0A# Assumes CP932 as the old text encoding.%0A#%0A%0Aimport os%0Aimport os.path%0Aimport re%0A%0Adef isUTF8SIG(path):%0A  f = open(path, 'rb')%0A  v = f.read(3)%0A  f.close()%0A  if v == b'%5Cxef%5Cxbb%5Cxbf':%0A    return True%0A  return False%0A%0Adef cp932ToUTF8(path):%0A  f = open(path, 'rb')%0A  content = f.read()%0A  f.close()%0A  try:%0A    content = content.decode(encoding='cp932', errors='strict')%0A    content = u'%5Cufeff' + content%0A    content = content.encode(encoding='UTF-8', errors='strict')%0A  except UnicodeError:%0A    return False%0A  %0A  f = open(path, 'wb')%0A  f.write(content)%0A  f.close()%0A  return True%0A%0Adef convertTree(start, pattern):%0A  regex = re.compile(pattern)%0A  for path in %5B%0A    os.path.join(root, n)%0A    for root, dirs, files in os.walk(start)%0A    for n in files if regex.search(n) is not None%0A  %5D:%0A    if not isUTF8SIG(path):%0A      converted = cp932ToUTF8(path)%0A      if converted:%0A        print('CONVERTED:', path)%0A      else:%0A        print('SKIPPED:', path)%0A%0A%0Aif __name__ == '__main__':%0A  start = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))%0A  convertTree(start, r'%5C.(cs%7Csln%7Ccsproj%7Cresx)$');%0A

add script used for converting text encoding.