Skip to content

Instantly share code, notes, and snippets.

View lifefeel's full-sized avatar

J.P Lee lifefeel

  • Seoul, South Korea
  • 20:22 (UTC +09:00)
View GitHub Profile
@lifefeel
lifefeel / nfd2nfc.py
Last active October 8, 2019 06:20 — forked from joonahn/repair_broken_mac_filename.py
mac에서 생성한 한글 파일명을 windows에서 읽을 때 깨진 파일을 복구해 주는 스크립트
import sys
from unicodedata import normalize
import glob
import os
def nfd2nfc(data):
return normalize('NFC', data)
if len(sys.argv) > 1:
path = sys.argv[1]