Created
July 22, 2020 19:16
-
-
Save msikma/4a26e8585e6075fd7dacf34f23b7af47 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import unicodedata | |
with open('SLPS-01144+AREA17+A003.UNGAM_21.html', 'r') as file: | |
data = file.read() | |
norm = unicodedata.normalize('NFC', data) | |
with open('out.html', 'w') as file: | |
file.write(norm) | |
print('Done') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment