chore: add accident removed comment
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Unlock Music Dev 2022-12-05 11:10:40 +08:00
parent 6f033af336
commit 12be881d42
Signed by: um-dev
GPG Key ID: 95202E10D3413A1D
1 changed files with 3 additions and 0 deletions

View File

@ -117,6 +117,9 @@ func getDefaultMMKVDir() (string, error) {
return mmkvDir, nil
}
// normalizeUnicode normalizes unicode string to NFC.
// since macOS may change some characters in the file name.
// e.g. "ぜ"(e3 81 9c) -> "ぜ"(e3 81 9b e3 82 99)
func normalizeUnicode(str string) string {
return norm.NFC.String(str)
}