2019-07-27 18:01:52 +00:00
|
|
|
//+build darwin
|
|
|
|
|
|
|
|
package local
|
|
|
|
|
2020-01-14 21:51:49 +00:00
|
|
|
import "github.com/rclone/rclone/lib/encoder"
|
2019-07-27 18:01:52 +00:00
|
|
|
|
2020-01-14 21:51:49 +00: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)
|