rclone/backend/local/encode_darwin.go

12 lines
276 B
Go
Raw Normal View History

2019-07-27 20:01:52 +02:00
//+build darwin
package local
import "github.com/rclone/rclone/lib/encoder"
2019-07-27 20:01:52 +02:00
// This is the encoding used by the local backend for macOS
//
// macOS can't store invalid UTF-8, it converts them into %XX encoding
const defaultEnc = (encoder.Base |
encoder.EncodeInvalidUtf8)