backends: move encoding definitions from fs/encodings
This commit is contained in:
parent
c555dc71c2
commit
bafe7d5a73
28 changed files with 243 additions and 534 deletions
|
@ -2,8 +2,10 @@
|
|||
|
||||
package local
|
||||
|
||||
import (
|
||||
"github.com/rclone/rclone/fs/encodings"
|
||||
)
|
||||
import "github.com/rclone/rclone/lib/encoder"
|
||||
|
||||
const defaultEnc = encodings.LocalMacOS
|
||||
// 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue