github.com/xhghs/rclone@v1.51.1-0.20200430155106-e186a28cced8/backend/local/encode_darwin.go (about) 1 //+build darwin 2 3 package local 4 5 import "github.com/rclone/rclone/lib/encoder" 6 7 // This is the encoding used by the local backend for macOS 8 // 9 // macOS can't store invalid UTF-8, it converts them into %XX encoding 10 const defaultEnc = (encoder.Base | 11 encoder.EncodeInvalidUtf8)