mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 10:28:49 -07:00
12 lines
205 B
Go
12 lines
205 B
Go
package files
|
|
|
|
import "code.google.com/p/go.text/unicode/norm"
|
|
|
|
func normalizedFilename(s string) string {
|
|
return norm.NFC.String(s)
|
|
}
|
|
|
|
func nativeFilename(s string) string {
|
|
return norm.NFD.String(s)
|
|
}
|