mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 19:39:05 +00: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)
|
||
|
}
|